package com.iplatform.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:S_USER_CORE * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class S_user_core extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; /** * 用于兼容老写法 */ @JsonIgnore public static final S_user_core ROW_MAPPER = new S_user_core(); // 主键 private Long id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private Long dept_id = null; @JsonIgnore protected boolean isset_dept_id = false; private Long org_id = null; @JsonIgnore protected boolean isset_org_id = false; private String user_name = null; @JsonIgnore protected boolean isset_user_name = false; private String nick_name = null; @JsonIgnore protected boolean isset_nick_name = false; private Integer user_type = null; @JsonIgnore protected boolean isset_user_type = false; private String email = null; @JsonIgnore protected boolean isset_email = false; private String phonenumber = null; @JsonIgnore protected boolean isset_phonenumber = false; private String sex = null; @JsonIgnore protected boolean isset_sex = false; private String avatar = null; @JsonIgnore protected boolean isset_avatar = false; private String password = null; @JsonIgnore protected boolean isset_password = false; private Integer status = null; @JsonIgnore protected boolean isset_status = false; private Integer del_flag = null; @JsonIgnore protected boolean isset_del_flag = false; private String login_ip = null; @JsonIgnore protected boolean isset_login_ip = false; private Long login_date = null; @JsonIgnore protected boolean isset_login_date = false; private String create_by = null; @JsonIgnore protected boolean isset_create_by = false; private Long create_time = null; @JsonIgnore protected boolean isset_create_time = false; private String update_by = null; @JsonIgnore protected boolean isset_update_by = false; private Long update_time = null; @JsonIgnore protected boolean isset_update_time = false; private String remark = null; @JsonIgnore protected boolean isset_remark = false; private String wx_open_id = null; @JsonIgnore protected boolean isset_wx_open_id = false; private String wx_union_id = null; @JsonIgnore protected boolean isset_wx_union_id = false; private String ding_user_id = null; @JsonIgnore protected boolean isset_ding_user_id = false; private String bind_client_id = null; @JsonIgnore protected boolean isset_bind_client_id = false; private Integer bind_wechat = null; @JsonIgnore protected boolean isset_bind_wechat = false; private Integer modify_pwd = null; @JsonIgnore protected boolean isset_modify_pwd = false; private Integer bind_mobile = null; @JsonIgnore protected boolean isset_bind_mobile = false; private Integer bind_mail = null; @JsonIgnore protected boolean isset_bind_mail = false; private Long profile_id = null; @JsonIgnore protected boolean isset_profile_id = false; private Integer is_wechat_public = null; @JsonIgnore protected boolean isset_is_wechat_public = false; private Integer is_wechat_routine = null; @JsonIgnore protected boolean isset_is_wechat_routine = false; private Integer is_wechat_ios = null; @JsonIgnore protected boolean isset_is_wechat_ios = false; private Integer is_wechat_android = null; @JsonIgnore protected boolean isset_is_wechat_android = false; private Integer is_binding_ios = null; @JsonIgnore protected boolean isset_is_binding_ios = false; private String register_type = null; @JsonIgnore protected boolean isset_register_type = false; private Integer is_logoff = null; @JsonIgnore protected boolean isset_is_logoff = false; private Long logoff_time = null; @JsonIgnore protected boolean isset_logoff_time = false; private Integer is_sms = null; @JsonIgnore protected boolean isset_is_sms = false; private Integer type = null; @JsonIgnore protected boolean isset_type = false; private Long mer_id = null; @JsonIgnore protected boolean isset_mer_id = false; /** * 默认构造函数 */ public S_user_core() { } /** * 根据主键构造对象 */ public S_user_core(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 getDept_id() { return this.dept_id; } public void setDept_id(Long dept_id) { this.dept_id = dept_id; this.isset_dept_id = true; // dept_id, bigint } @JsonIgnore public boolean isEmptyDept_id() { return this.dept_id == null; } 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; // org_id, bigint } @JsonIgnore public boolean isEmptyOrg_id() { return this.org_id == null; } public String getUser_name() { return this.user_name; } public void setUser_name(String user_name) { this.user_name = user_name; this.isset_user_name = true; // user_name, varchar } @JsonIgnore public boolean isEmptyUser_name() { return this.user_name == null || this.user_name.length() == 0; } public String getNick_name() { return this.nick_name; } public void setNick_name(String nick_name) { this.nick_name = nick_name; this.isset_nick_name = true; // nick_name, varchar } @JsonIgnore public boolean isEmptyNick_name() { return this.nick_name == null || this.nick_name.length() == 0; } public Integer getUser_type() { return this.user_type; } public void setUser_type(Integer user_type) { this.user_type = user_type; this.isset_user_type = true; // user_type, int } @JsonIgnore public boolean isEmptyUser_type() { return this.user_type == null; } public String getEmail() { return this.email; } public void setEmail(String email) { this.email = email; this.isset_email = true; // email, varchar } @JsonIgnore public boolean isEmptyEmail() { return this.email == null || this.email.length() == 0; } public String getPhonenumber() { return this.phonenumber; } public void setPhonenumber(String phonenumber) { this.phonenumber = phonenumber; this.isset_phonenumber = true; // phonenumber, varchar } @JsonIgnore public boolean isEmptyPhonenumber() { return this.phonenumber == null || this.phonenumber.length() == 0; } public String getSex() { return this.sex; } public void setSex(String sex) { this.sex = sex; this.isset_sex = true; // sex, varchar } @JsonIgnore public boolean isEmptySex() { return this.sex == null || this.sex.length() == 0; } public String getAvatar() { return this.avatar; } public void setAvatar(String avatar) { this.avatar = avatar; this.isset_avatar = true; // avatar, varchar } @JsonIgnore public boolean isEmptyAvatar() { return this.avatar == null || this.avatar.length() == 0; } public String getPassword() { return this.password; } public void setPassword(String password) { this.password = password; this.isset_password = true; // password, varchar } @JsonIgnore public boolean isEmptyPassword() { return this.password == null || this.password.length() == 0; } public Integer getStatus() { return this.status; } public void setStatus(Integer status) { this.status = status; this.isset_status = true; // status, int } @JsonIgnore public boolean isEmptyStatus() { return this.status == null; } public Integer getDel_flag() { return this.del_flag; } public void setDel_flag(Integer del_flag) { this.del_flag = del_flag; this.isset_del_flag = true; // del_flag, int } @JsonIgnore public boolean isEmptyDel_flag() { return this.del_flag == null; } public String getLogin_ip() { return this.login_ip; } public void setLogin_ip(String login_ip) { this.login_ip = login_ip; this.isset_login_ip = true; // login_ip, varchar } @JsonIgnore public boolean isEmptyLogin_ip() { return this.login_ip == null || this.login_ip.length() == 0; } public Long getLogin_date() { return this.login_date; } public void setLogin_date(Long login_date) { this.login_date = login_date; this.isset_login_date = true; // login_date, bigint } @JsonIgnore public boolean isEmptyLogin_date() { return this.login_date == null; } public String getCreate_by() { return this.create_by; } public void setCreate_by(String create_by) { this.create_by = create_by; this.isset_create_by = true; // create_by, varchar } @JsonIgnore public boolean isEmptyCreate_by() { return this.create_by == null || this.create_by.length() == 0; } 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; // create_time, bigint } @JsonIgnore public boolean isEmptyCreate_time() { return this.create_time == null; } public String getUpdate_by() { return this.update_by; } public void setUpdate_by(String update_by) { this.update_by = update_by; this.isset_update_by = true; // update_by, varchar } @JsonIgnore public boolean isEmptyUpdate_by() { return this.update_by == null || this.update_by.length() == 0; } public Long getUpdate_time() { return this.update_time; } public void setUpdate_time(Long update_time) { this.update_time = update_time; this.isset_update_time = true; // update_time, bigint } @JsonIgnore public boolean isEmptyUpdate_time() { return this.update_time == null; } public String getRemark() { return this.remark; } public void setRemark(String remark) { this.remark = remark; this.isset_remark = true; // remark, varchar } @JsonIgnore public boolean isEmptyRemark() { return this.remark == null || this.remark.length() == 0; } public String getWx_open_id() { return this.wx_open_id; } public void setWx_open_id(String wx_open_id) { this.wx_open_id = wx_open_id; this.isset_wx_open_id = true; // wx_open_id, varchar } @JsonIgnore public boolean isEmptyWx_open_id() { return this.wx_open_id == null || this.wx_open_id.length() == 0; } public String getWx_union_id() { return this.wx_union_id; } public void setWx_union_id(String wx_union_id) { this.wx_union_id = wx_union_id; this.isset_wx_union_id = true; // wx_union_id, varchar } @JsonIgnore public boolean isEmptyWx_union_id() { return this.wx_union_id == null || this.wx_union_id.length() == 0; } public String getDing_user_id() { return this.ding_user_id; } public void setDing_user_id(String ding_user_id) { this.ding_user_id = ding_user_id; this.isset_ding_user_id = true; // ding_user_id, varchar } @JsonIgnore public boolean isEmptyDing_user_id() { return this.ding_user_id == null || this.ding_user_id.length() == 0; } public String getBind_client_id() { return this.bind_client_id; } public void setBind_client_id(String bind_client_id) { this.bind_client_id = bind_client_id; this.isset_bind_client_id = true; // bind_client_id, varchar } @JsonIgnore public boolean isEmptyBind_client_id() { return this.bind_client_id == null || this.bind_client_id.length() == 0; } public Integer getBind_wechat() { return this.bind_wechat; } public void setBind_wechat(Integer bind_wechat) { this.bind_wechat = bind_wechat; this.isset_bind_wechat = true; // bind_wechat, int } @JsonIgnore public boolean isEmptyBind_wechat() { return this.bind_wechat == null; } public Integer getModify_pwd() { return this.modify_pwd; } public void setModify_pwd(Integer modify_pwd) { this.modify_pwd = modify_pwd; this.isset_modify_pwd = true; // modify_pwd, int } @JsonIgnore public boolean isEmptyModify_pwd() { return this.modify_pwd == null; } public Integer getBind_mobile() { return this.bind_mobile; } public void setBind_mobile(Integer bind_mobile) { this.bind_mobile = bind_mobile; this.isset_bind_mobile = true; // bind_mobile, int } @JsonIgnore public boolean isEmptyBind_mobile() { return this.bind_mobile == null; } public Integer getBind_mail() { return this.bind_mail; } public void setBind_mail(Integer bind_mail) { this.bind_mail = bind_mail; this.isset_bind_mail = true; // bind_mail, int } @JsonIgnore public boolean isEmptyBind_mail() { return this.bind_mail == null; } public Long getProfile_id() { return this.profile_id; } public void setProfile_id(Long profile_id) { this.profile_id = profile_id; this.isset_profile_id = true; // profile_id, bigint } @JsonIgnore public boolean isEmptyProfile_id() { return this.profile_id == null; } public Integer getIs_wechat_public() { return this.is_wechat_public; } public void setIs_wechat_public(Integer is_wechat_public) { this.is_wechat_public = is_wechat_public; this.isset_is_wechat_public = true; // is_wechat_public, int } @JsonIgnore public boolean isEmptyIs_wechat_public() { return this.is_wechat_public == null; } public Integer getIs_wechat_routine() { return this.is_wechat_routine; } public void setIs_wechat_routine(Integer is_wechat_routine) { this.is_wechat_routine = is_wechat_routine; this.isset_is_wechat_routine = true; // is_wechat_routine, int } @JsonIgnore public boolean isEmptyIs_wechat_routine() { return this.is_wechat_routine == null; } public Integer getIs_wechat_ios() { return this.is_wechat_ios; } public void setIs_wechat_ios(Integer is_wechat_ios) { this.is_wechat_ios = is_wechat_ios; this.isset_is_wechat_ios = true; // is_wechat_ios, int } @JsonIgnore public boolean isEmptyIs_wechat_ios() { return this.is_wechat_ios == null; } public Integer getIs_wechat_android() { return this.is_wechat_android; } public void setIs_wechat_android(Integer is_wechat_android) { this.is_wechat_android = is_wechat_android; this.isset_is_wechat_android = true; // is_wechat_android, int } @JsonIgnore public boolean isEmptyIs_wechat_android() { return this.is_wechat_android == null; } public Integer getIs_binding_ios() { return this.is_binding_ios; } public void setIs_binding_ios(Integer is_binding_ios) { this.is_binding_ios = is_binding_ios; this.isset_is_binding_ios = true; // is_binding_ios, int } @JsonIgnore public boolean isEmptyIs_binding_ios() { return this.is_binding_ios == null; } public String getRegister_type() { return this.register_type; } public void setRegister_type(String register_type) { this.register_type = register_type; this.isset_register_type = true; // register_type, varchar } @JsonIgnore public boolean isEmptyRegister_type() { return this.register_type == null || this.register_type.length() == 0; } public Integer getIs_logoff() { return this.is_logoff; } public void setIs_logoff(Integer is_logoff) { this.is_logoff = is_logoff; this.isset_is_logoff = true; // is_logoff, int } @JsonIgnore public boolean isEmptyIs_logoff() { return this.is_logoff == null; } public Long getLogoff_time() { return this.logoff_time; } public void setLogoff_time(Long logoff_time) { this.logoff_time = logoff_time; this.isset_logoff_time = true; // logoff_time, bigint } @JsonIgnore public boolean isEmptyLogoff_time() { return this.logoff_time == null; } public Integer getIs_sms() { return this.is_sms; } public void setIs_sms(Integer is_sms) { this.is_sms = is_sms; this.isset_is_sms = true; // is_sms, int } @JsonIgnore public boolean isEmptyIs_sms() { return this.is_sms == null; } public Integer getType() { return this.type; } public void setType(Integer type) { this.type = type; this.isset_type = true; // type, int } @JsonIgnore public boolean isEmptyType() { return this.type == null; } public Long getMer_id() { return this.mer_id; } public void setMer_id(Long mer_id) { this.mer_id = mer_id; this.isset_mer_id = true; // mer_id, bigint } @JsonIgnore public boolean isEmptyMer_id() { return this.mer_id == null; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("dept_id=").append(this.dept_id) .append("org_id=").append(this.org_id) .append("user_name=").append(this.user_name) .append("nick_name=").append(this.nick_name) .append("user_type=").append(this.user_type) .append("email=").append(this.email) .append("phonenumber=").append(this.phonenumber) .append("sex=").append(this.sex) .append("avatar=").append(this.avatar) .append("password=").append(this.password) .append("status=").append(this.status) .append("del_flag=").append(this.del_flag) .append("login_ip=").append(this.login_ip) .append("login_date=").append(this.login_date) .append("create_by=").append(this.create_by) .append("create_time=").append(this.create_time) .append("update_by=").append(this.update_by) .append("update_time=").append(this.update_time) .append("remark=").append(this.remark) .append("wx_open_id=").append(this.wx_open_id) .append("wx_union_id=").append(this.wx_union_id) .append("ding_user_id=").append(this.ding_user_id) .append("bind_client_id=").append(this.bind_client_id) .append("bind_wechat=").append(this.bind_wechat) .append("modify_pwd=").append(this.modify_pwd) .append("bind_mobile=").append(this.bind_mobile) .append("bind_mail=").append(this.bind_mail) .append("profile_id=").append(this.profile_id) .append("is_wechat_public=").append(this.is_wechat_public) .append("is_wechat_routine=").append(this.is_wechat_routine) .append("is_wechat_ios=").append(this.is_wechat_ios) .append("is_wechat_android=").append(this.is_wechat_android) .append("is_binding_ios=").append(this.is_binding_ios) .append("register_type=").append(this.register_type) .append("is_logoff=").append(this.is_logoff) .append("logoff_time=").append(this.logoff_time) .append("is_sms=").append(this.is_sms) .append("type=").append(this.type) .append("mer_id=").append(this.mer_id) .toString(); } /** * 克隆 */ public S_user_core $clone() { S_user_core s_user_core = new S_user_core(); // 数据库名称 //s_user_core.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { s_user_core.setId(this.getId()); } // 普通属性 if (this.isset_dept_id) { s_user_core.setDept_id(this.getDept_id()); } if (this.isset_org_id) { s_user_core.setOrg_id(this.getOrg_id()); } if (this.isset_user_name) { s_user_core.setUser_name(this.getUser_name()); } if (this.isset_nick_name) { s_user_core.setNick_name(this.getNick_name()); } if (this.isset_user_type) { s_user_core.setUser_type(this.getUser_type()); } if (this.isset_email) { s_user_core.setEmail(this.getEmail()); } if (this.isset_phonenumber) { s_user_core.setPhonenumber(this.getPhonenumber()); } if (this.isset_sex) { s_user_core.setSex(this.getSex()); } if (this.isset_avatar) { s_user_core.setAvatar(this.getAvatar()); } if (this.isset_password) { s_user_core.setPassword(this.getPassword()); } if (this.isset_status) { s_user_core.setStatus(this.getStatus()); } if (this.isset_del_flag) { s_user_core.setDel_flag(this.getDel_flag()); } if (this.isset_login_ip) { s_user_core.setLogin_ip(this.getLogin_ip()); } if (this.isset_login_date) { s_user_core.setLogin_date(this.getLogin_date()); } if (this.isset_create_by) { s_user_core.setCreate_by(this.getCreate_by()); } if (this.isset_create_time) { s_user_core.setCreate_time(this.getCreate_time()); } if (this.isset_update_by) { s_user_core.setUpdate_by(this.getUpdate_by()); } if (this.isset_update_time) { s_user_core.setUpdate_time(this.getUpdate_time()); } if (this.isset_remark) { s_user_core.setRemark(this.getRemark()); } if (this.isset_wx_open_id) { s_user_core.setWx_open_id(this.getWx_open_id()); } if (this.isset_wx_union_id) { s_user_core.setWx_union_id(this.getWx_union_id()); } if (this.isset_ding_user_id) { s_user_core.setDing_user_id(this.getDing_user_id()); } if (this.isset_bind_client_id) { s_user_core.setBind_client_id(this.getBind_client_id()); } if (this.isset_bind_wechat) { s_user_core.setBind_wechat(this.getBind_wechat()); } if (this.isset_modify_pwd) { s_user_core.setModify_pwd(this.getModify_pwd()); } if (this.isset_bind_mobile) { s_user_core.setBind_mobile(this.getBind_mobile()); } if (this.isset_bind_mail) { s_user_core.setBind_mail(this.getBind_mail()); } if (this.isset_profile_id) { s_user_core.setProfile_id(this.getProfile_id()); } if (this.isset_is_wechat_public) { s_user_core.setIs_wechat_public(this.getIs_wechat_public()); } if (this.isset_is_wechat_routine) { s_user_core.setIs_wechat_routine(this.getIs_wechat_routine()); } if (this.isset_is_wechat_ios) { s_user_core.setIs_wechat_ios(this.getIs_wechat_ios()); } if (this.isset_is_wechat_android) { s_user_core.setIs_wechat_android(this.getIs_wechat_android()); } if (this.isset_is_binding_ios) { s_user_core.setIs_binding_ios(this.getIs_binding_ios()); } if (this.isset_register_type) { s_user_core.setRegister_type(this.getRegister_type()); } if (this.isset_is_logoff) { s_user_core.setIs_logoff(this.getIs_logoff()); } if (this.isset_logoff_time) { s_user_core.setLogoff_time(this.getLogoff_time()); } if (this.isset_is_sms) { s_user_core.setIs_sms(this.getIs_sms()); } if (this.isset_type) { s_user_core.setType(this.getType()); } if (this.isset_mer_id) { s_user_core.setMer_id(this.getMer_id()); } return s_user_core; } }