package com.iplatform.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:S_USER_PROFILE *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class S_user_profile extends BasePo<S_user_profile> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 用于兼容老写法
|
*/
|
@JsonIgnore
|
public static final S_user_profile ROW_MAPPER = new S_user_profile();
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long create_time = null;
|
@JsonIgnore
|
protected boolean isset_create_time = false;
|
|
private String mobile = null;
|
@JsonIgnore
|
protected boolean isset_mobile = false;
|
|
private String mobile_history = null;
|
@JsonIgnore
|
protected boolean isset_mobile_history = false;
|
|
private String card_no = null;
|
@JsonIgnore
|
protected boolean isset_card_no = false;
|
|
private String mail = null;
|
@JsonIgnore
|
protected boolean isset_mail = false;
|
|
private String birthday = null;
|
@JsonIgnore
|
protected boolean isset_birthday = false;
|
|
private String sex = null;
|
@JsonIgnore
|
protected boolean isset_sex = false;
|
|
private Long card_front_img = null;
|
@JsonIgnore
|
protected boolean isset_card_front_img = false;
|
|
private Long card_back_img = null;
|
@JsonIgnore
|
protected boolean isset_card_back_img = false;
|
|
private Long face_img = null;
|
@JsonIgnore
|
protected boolean isset_face_img = false;
|
|
private String name = null;
|
@JsonIgnore
|
protected boolean isset_name = false;
|
|
private String third_acct = null;
|
@JsonIgnore
|
protected boolean isset_third_acct = false;
|
|
private String summary = null;
|
@JsonIgnore
|
protected boolean isset_summary = false;
|
|
private Long org_id = null;
|
@JsonIgnore
|
protected boolean isset_org_id = false;
|
|
private Long dept_id = null;
|
@JsonIgnore
|
protected boolean isset_dept_id = false;
|
|
private String org_name = null;
|
@JsonIgnore
|
protected boolean isset_org_name = false;
|
|
private String dept_name = null;
|
@JsonIgnore
|
protected boolean isset_dept_name = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public S_user_profile() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public S_user_profile(Long id) {
|
this.setId(id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setId((Long) value);
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
this.isset_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyId() {
|
return this.id == null;
|
}
|
|
public Long getCreate_time() {
|
return this.create_time;
|
}
|
|
public void setCreate_time(Long create_time) {
|
this.create_time = create_time;
|
this.isset_create_time = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreate_time() {
|
return this.create_time == null;
|
}
|
|
public String getMobile() {
|
return this.mobile;
|
}
|
|
public void setMobile(String mobile) {
|
this.mobile = mobile;
|
this.isset_mobile = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyMobile() {
|
return this.mobile == null || this.mobile.length() == 0;
|
}
|
|
public String getMobile_history() {
|
return this.mobile_history;
|
}
|
|
public void setMobile_history(String mobile_history) {
|
this.mobile_history = mobile_history;
|
this.isset_mobile_history = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyMobile_history() {
|
return this.mobile_history == null || this.mobile_history.length() == 0;
|
}
|
|
public String getCard_no() {
|
return this.card_no;
|
}
|
|
public void setCard_no(String card_no) {
|
this.card_no = card_no;
|
this.isset_card_no = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCard_no() {
|
return this.card_no == null || this.card_no.length() == 0;
|
}
|
|
public String getMail() {
|
return this.mail;
|
}
|
|
public void setMail(String mail) {
|
this.mail = mail;
|
this.isset_mail = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyMail() {
|
return this.mail == null || this.mail.length() == 0;
|
}
|
|
public String getBirthday() {
|
return this.birthday;
|
}
|
|
public void setBirthday(String birthday) {
|
this.birthday = birthday;
|
this.isset_birthday = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBirthday() {
|
return this.birthday == null || this.birthday.length() == 0;
|
}
|
|
public String getSex() {
|
return this.sex;
|
}
|
|
public void setSex(String sex) {
|
this.sex = sex;
|
this.isset_sex = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySex() {
|
return this.sex == null || this.sex.length() == 0;
|
}
|
|
public Long getCard_front_img() {
|
return this.card_front_img;
|
}
|
|
public void setCard_front_img(Long card_front_img) {
|
this.card_front_img = card_front_img;
|
this.isset_card_front_img = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCard_front_img() {
|
return this.card_front_img == null;
|
}
|
|
public Long getCard_back_img() {
|
return this.card_back_img;
|
}
|
|
public void setCard_back_img(Long card_back_img) {
|
this.card_back_img = card_back_img;
|
this.isset_card_back_img = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCard_back_img() {
|
return this.card_back_img == null;
|
}
|
|
public Long getFace_img() {
|
return this.face_img;
|
}
|
|
public void setFace_img(Long face_img) {
|
this.face_img = face_img;
|
this.isset_face_img = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFace_img() {
|
return this.face_img == null;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
this.isset_name = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyName() {
|
return this.name == null || this.name.length() == 0;
|
}
|
|
public String getThird_acct() {
|
return this.third_acct;
|
}
|
|
public void setThird_acct(String third_acct) {
|
this.third_acct = third_acct;
|
this.isset_third_acct = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyThird_acct() {
|
return this.third_acct == null || this.third_acct.length() == 0;
|
}
|
|
public String getSummary() {
|
return this.summary;
|
}
|
|
public void setSummary(String summary) {
|
this.summary = summary;
|
this.isset_summary = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySummary() {
|
return this.summary == null || this.summary.length() == 0;
|
}
|
|
public Long getOrg_id() {
|
return this.org_id;
|
}
|
|
public void setOrg_id(Long org_id) {
|
this.org_id = org_id;
|
this.isset_org_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOrg_id() {
|
return this.org_id == null;
|
}
|
|
public Long getDept_id() {
|
return this.dept_id;
|
}
|
|
public void setDept_id(Long dept_id) {
|
this.dept_id = dept_id;
|
this.isset_dept_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDept_id() {
|
return this.dept_id == null;
|
}
|
|
public String getOrg_name() {
|
return this.org_name;
|
}
|
|
public void setOrg_name(String org_name) {
|
this.org_name = org_name;
|
this.isset_org_name = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOrg_name() {
|
return this.org_name == null || this.org_name.length() == 0;
|
}
|
|
public String getDept_name() {
|
return this.dept_name;
|
}
|
|
public void setDept_name(String dept_name) {
|
this.dept_name = dept_name;
|
this.isset_dept_name = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDept_name() {
|
return this.dept_name == null || this.dept_name.length() == 0;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("create_time=").append(this.create_time)
|
.append("mobile=").append(this.mobile)
|
.append("mobile_history=").append(this.mobile_history)
|
.append("card_no=").append(this.card_no)
|
.append("mail=").append(this.mail)
|
.append("birthday=").append(this.birthday)
|
.append("sex=").append(this.sex)
|
.append("card_front_img=").append(this.card_front_img)
|
.append("card_back_img=").append(this.card_back_img)
|
.append("face_img=").append(this.face_img)
|
.append("name=").append(this.name)
|
.append("third_acct=").append(this.third_acct)
|
.append("summary=").append(this.summary)
|
.append("org_id=").append(this.org_id)
|
.append("dept_id=").append(this.dept_id)
|
.append("org_name=").append(this.org_name)
|
.append("dept_name=").append(this.dept_name)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public S_user_profile $clone() {
|
S_user_profile s_user_profile = new S_user_profile();
|
|
// 数据库名称
|
//s_user_profile.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
s_user_profile.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_create_time) {
|
s_user_profile.setCreate_time(this.getCreate_time());
|
}
|
if (this.isset_mobile) {
|
s_user_profile.setMobile(this.getMobile());
|
}
|
if (this.isset_mobile_history) {
|
s_user_profile.setMobile_history(this.getMobile_history());
|
}
|
if (this.isset_card_no) {
|
s_user_profile.setCard_no(this.getCard_no());
|
}
|
if (this.isset_mail) {
|
s_user_profile.setMail(this.getMail());
|
}
|
if (this.isset_birthday) {
|
s_user_profile.setBirthday(this.getBirthday());
|
}
|
if (this.isset_sex) {
|
s_user_profile.setSex(this.getSex());
|
}
|
if (this.isset_card_front_img) {
|
s_user_profile.setCard_front_img(this.getCard_front_img());
|
}
|
if (this.isset_card_back_img) {
|
s_user_profile.setCard_back_img(this.getCard_back_img());
|
}
|
if (this.isset_face_img) {
|
s_user_profile.setFace_img(this.getFace_img());
|
}
|
if (this.isset_name) {
|
s_user_profile.setName(this.getName());
|
}
|
if (this.isset_third_acct) {
|
s_user_profile.setThird_acct(this.getThird_acct());
|
}
|
if (this.isset_summary) {
|
s_user_profile.setSummary(this.getSummary());
|
}
|
if (this.isset_org_id) {
|
s_user_profile.setOrg_id(this.getOrg_id());
|
}
|
if (this.isset_dept_id) {
|
s_user_profile.setDept_id(this.getDept_id());
|
}
|
if (this.isset_org_name) {
|
s_user_profile.setOrg_name(this.getOrg_name());
|
}
|
if (this.isset_dept_name) {
|
s_user_profile.setDept_name(this.getDept_name());
|
}
|
return s_user_profile;
|
}
|
}
|