package com.terra.system.entity.ctrl;
|
|
import com.terra.system.helper.StringHelper;
|
|
import java.util.ArrayList;
|
import java.util.List;
|
|
/**
|
* 注册类
|
* @author WWW
|
*/
|
public class RegisterEntity {
|
public RegisterEntity() {
|
}
|
|
public RegisterEntity(String name, String uri, String type) {
|
tags = new ArrayList<>();
|
tags.add(type);
|
|
this.name = name;
|
this.address = uri;
|
this.detailUrl = uri;
|
this.type = type;
|
this.description = name;
|
this.isrequest = true;
|
this.hashid = StringHelper.getGuid();
|
this.ispublic = false;
|
}
|
|
public RegisterEntity(Integer pubid) {
|
this.reason = "注册";
|
this.serialnum = pubid.toString();
|
}
|
|
private List<String> tags;
|
|
private String name;
|
|
private String address;
|
|
private String detailUrl;
|
|
private String type;
|
|
private String description;
|
|
private Boolean isrequest;
|
|
private String hashid;
|
|
private String reason;
|
|
private String serialnum;
|
|
private Boolean ispublic;
|
|
public List<String> getTags() {
|
return tags;
|
}
|
|
public void setTags(List<String> tags) {
|
this.tags = tags;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getAddress() {
|
return address;
|
}
|
|
public void setAddress(String address) {
|
this.address = address;
|
}
|
|
public String getDetailUrl() {
|
return detailUrl;
|
}
|
|
public void setDetailUrl(String detailUrl) {
|
this.detailUrl = detailUrl;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public Boolean getIsrequest() {
|
return isrequest;
|
}
|
|
public void setIsrequest(Boolean isrequest) {
|
this.isrequest = isrequest;
|
}
|
|
public String getHashid() {
|
return hashid;
|
}
|
|
public void setHashid(String hashid) {
|
this.hashid = hashid;
|
}
|
|
public String getReason() {
|
return reason;
|
}
|
|
public void setReason(String reason) {
|
this.reason = reason;
|
}
|
|
public String getSerialnum() {
|
return serialnum;
|
}
|
|
public void setSerialnum(String serialnum) {
|
this.serialnum = serialnum;
|
}
|
|
public Boolean getIspublic() {
|
return ispublic;
|
}
|
|
public void setIspublic(Boolean ispublic) {
|
this.ispublic = ispublic;
|
}
|
}
|