package com.iplatform.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:S_LOGIN_INFO * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class S_login_info extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; /** * 用于兼容老写法 */ @JsonIgnore public static final S_login_info ROW_MAPPER = new S_login_info(); // 主键 private Long info_id = null; @JsonIgnore protected boolean isset_info_id = false; // 属性列表 private String user_name = null; @JsonIgnore protected boolean isset_user_name = false; private String ipaddr = null; @JsonIgnore protected boolean isset_ipaddr = false; private String login_location = null; @JsonIgnore protected boolean isset_login_location = false; private String browser = null; @JsonIgnore protected boolean isset_browser = false; private String os = null; @JsonIgnore protected boolean isset_os = false; private String status = null; @JsonIgnore protected boolean isset_status = false; private String msg = null; @JsonIgnore protected boolean isset_msg = false; private Long login_time = null; @JsonIgnore protected boolean isset_login_time = false; private Long base_user_id = null; @JsonIgnore protected boolean isset_base_user_id = false; private String base_user_name = null; @JsonIgnore protected boolean isset_base_user_name = false; private String psn_code = null; @JsonIgnore protected boolean isset_psn_code = false; private String phone = null; @JsonIgnore protected boolean isset_phone = false; private String phone_desen = null; @JsonIgnore protected boolean isset_phone_desen = false; private String client_type = null; @JsonIgnore protected boolean isset_client_type = false; private Long group_dept_id = null; @JsonIgnore protected boolean isset_group_dept_id = false; private Long province_dept_id = null; @JsonIgnore protected boolean isset_province_dept_id = false; private Long city_dept_id = null; @JsonIgnore protected boolean isset_city_dept_id = false; private Long county_dept_id = null; @JsonIgnore protected boolean isset_county_dept_id = false; private String group_dept_name = null; @JsonIgnore protected boolean isset_group_dept_name = false; private String province_dept_name = null; @JsonIgnore protected boolean isset_province_dept_name = false; private String city_dept_name = null; @JsonIgnore protected boolean isset_city_dept_name = false; private String county_dept_name = null; @JsonIgnore protected boolean isset_county_dept_name = false; private Long base_dept_id = null; @JsonIgnore protected boolean isset_base_dept_id = false; private String base_dept_name = null; @JsonIgnore protected boolean isset_base_dept_name = false; /** * 默认构造函数 */ public S_login_info() { } /** * 根据主键构造对象 */ public S_login_info(Long info_id) { this.setInfo_id(info_id); } /** * 设置主键值 */ @Override public void setPkValue(Object value) { this.setInfo_id((Long) value); } public Long getInfo_id() { return this.info_id; } public void setInfo_id(Long info_id) { this.info_id = info_id; this.isset_info_id = true; } @JsonIgnore public boolean isEmptyInfo_id() { return this.info_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; } @JsonIgnore public boolean isEmptyUser_name() { return this.user_name == null || this.user_name.length() == 0; } public String getIpaddr() { return this.ipaddr; } public void setIpaddr(String ipaddr) { this.ipaddr = ipaddr; this.isset_ipaddr = true; } @JsonIgnore public boolean isEmptyIpaddr() { return this.ipaddr == null || this.ipaddr.length() == 0; } public String getLogin_location() { return this.login_location; } public void setLogin_location(String login_location) { this.login_location = login_location; this.isset_login_location = true; } @JsonIgnore public boolean isEmptyLogin_location() { return this.login_location == null || this.login_location.length() == 0; } public String getBrowser() { return this.browser; } public void setBrowser(String browser) { this.browser = browser; this.isset_browser = true; } @JsonIgnore public boolean isEmptyBrowser() { return this.browser == null || this.browser.length() == 0; } public String getOs() { return this.os; } public void setOs(String os) { this.os = os; this.isset_os = true; } @JsonIgnore public boolean isEmptyOs() { return this.os == null || this.os.length() == 0; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; this.isset_status = true; } @JsonIgnore public boolean isEmptyStatus() { return this.status == null || this.status.length() == 0; } public String getMsg() { return this.msg; } public void setMsg(String msg) { this.msg = msg; this.isset_msg = true; } @JsonIgnore public boolean isEmptyMsg() { return this.msg == null || this.msg.length() == 0; } public Long getLogin_time() { return this.login_time; } public void setLogin_time(Long login_time) { this.login_time = login_time; this.isset_login_time = true; } @JsonIgnore public boolean isEmptyLogin_time() { return this.login_time == null; } public Long getBase_user_id() { return this.base_user_id; } public void setBase_user_id(Long base_user_id) { this.base_user_id = base_user_id; this.isset_base_user_id = true; } @JsonIgnore public boolean isEmptyBase_user_id() { return this.base_user_id == null; } public String getBase_user_name() { return this.base_user_name; } public void setBase_user_name(String base_user_name) { this.base_user_name = base_user_name; this.isset_base_user_name = true; } @JsonIgnore public boolean isEmptyBase_user_name() { return this.base_user_name == null || this.base_user_name.length() == 0; } public String getPsn_code() { return this.psn_code; } public void setPsn_code(String psn_code) { this.psn_code = psn_code; this.isset_psn_code = true; } @JsonIgnore public boolean isEmptyPsn_code() { return this.psn_code == null || this.psn_code.length() == 0; } public String getPhone() { return this.phone; } public void setPhone(String phone) { this.phone = phone; this.isset_phone = true; } @JsonIgnore public boolean isEmptyPhone() { return this.phone == null || this.phone.length() == 0; } public String getPhone_desen() { return this.phone_desen; } public void setPhone_desen(String phone_desen) { this.phone_desen = phone_desen; this.isset_phone_desen = true; } @JsonIgnore public boolean isEmptyPhone_desen() { return this.phone_desen == null || this.phone_desen.length() == 0; } public String getClient_type() { return this.client_type; } public void setClient_type(String client_type) { this.client_type = client_type; this.isset_client_type = true; } @JsonIgnore public boolean isEmptyClient_type() { return this.client_type == null || this.client_type.length() == 0; } public Long getGroup_dept_id() { return this.group_dept_id; } public void setGroup_dept_id(Long group_dept_id) { this.group_dept_id = group_dept_id; this.isset_group_dept_id = true; } @JsonIgnore public boolean isEmptyGroup_dept_id() { return this.group_dept_id == null; } public Long getProvince_dept_id() { return this.province_dept_id; } public void setProvince_dept_id(Long province_dept_id) { this.province_dept_id = province_dept_id; this.isset_province_dept_id = true; } @JsonIgnore public boolean isEmptyProvince_dept_id() { return this.province_dept_id == null; } public Long getCity_dept_id() { return this.city_dept_id; } public void setCity_dept_id(Long city_dept_id) { this.city_dept_id = city_dept_id; this.isset_city_dept_id = true; } @JsonIgnore public boolean isEmptyCity_dept_id() { return this.city_dept_id == null; } public Long getCounty_dept_id() { return this.county_dept_id; } public void setCounty_dept_id(Long county_dept_id) { this.county_dept_id = county_dept_id; this.isset_county_dept_id = true; } @JsonIgnore public boolean isEmptyCounty_dept_id() { return this.county_dept_id == null; } public String getGroup_dept_name() { return this.group_dept_name; } public void setGroup_dept_name(String group_dept_name) { this.group_dept_name = group_dept_name; this.isset_group_dept_name = true; } @JsonIgnore public boolean isEmptyGroup_dept_name() { return this.group_dept_name == null || this.group_dept_name.length() == 0; } public String getProvince_dept_name() { return this.province_dept_name; } public void setProvince_dept_name(String province_dept_name) { this.province_dept_name = province_dept_name; this.isset_province_dept_name = true; } @JsonIgnore public boolean isEmptyProvince_dept_name() { return this.province_dept_name == null || this.province_dept_name.length() == 0; } public String getCity_dept_name() { return this.city_dept_name; } public void setCity_dept_name(String city_dept_name) { this.city_dept_name = city_dept_name; this.isset_city_dept_name = true; } @JsonIgnore public boolean isEmptyCity_dept_name() { return this.city_dept_name == null || this.city_dept_name.length() == 0; } public String getCounty_dept_name() { return this.county_dept_name; } public void setCounty_dept_name(String county_dept_name) { this.county_dept_name = county_dept_name; this.isset_county_dept_name = true; } @JsonIgnore public boolean isEmptyCounty_dept_name() { return this.county_dept_name == null || this.county_dept_name.length() == 0; } public Long getBase_dept_id() { return this.base_dept_id; } public void setBase_dept_id(Long base_dept_id) { this.base_dept_id = base_dept_id; this.isset_base_dept_id = true; } @JsonIgnore public boolean isEmptyBase_dept_id() { return this.base_dept_id == null; } public String getBase_dept_name() { return this.base_dept_name; } public void setBase_dept_name(String base_dept_name) { this.base_dept_name = base_dept_name; this.isset_base_dept_name = true; } @JsonIgnore public boolean isEmptyBase_dept_name() { return this.base_dept_name == null || this.base_dept_name.length() == 0; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("info_id=").append(this.info_id) .append("user_name=").append(this.user_name) .append("ipaddr=").append(this.ipaddr) .append("login_location=").append(this.login_location) .append("browser=").append(this.browser) .append("os=").append(this.os) .append("status=").append(this.status) .append("msg=").append(this.msg) .append("login_time=").append(this.login_time) .append("base_user_id=").append(this.base_user_id) .append("base_user_name=").append(this.base_user_name) .append("psn_code=").append(this.psn_code) .append("phone=").append(this.phone) .append("phone_desen=").append(this.phone_desen) .append("client_type=").append(this.client_type) .append("group_dept_id=").append(this.group_dept_id) .append("province_dept_id=").append(this.province_dept_id) .append("city_dept_id=").append(this.city_dept_id) .append("county_dept_id=").append(this.county_dept_id) .append("group_dept_name=").append(this.group_dept_name) .append("province_dept_name=").append(this.province_dept_name) .append("city_dept_name=").append(this.city_dept_name) .append("county_dept_name=").append(this.county_dept_name) .append("base_dept_id=").append(this.base_dept_id) .append("base_dept_name=").append(this.base_dept_name) .toString(); } /** * 克隆 */ public S_login_info $clone() { S_login_info s_login_info = new S_login_info(); // 数据库名称 //s_login_info.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_info_id) { s_login_info.setInfo_id(this.getInfo_id()); } // 普通属性 if (this.isset_user_name) { s_login_info.setUser_name(this.getUser_name()); } if (this.isset_ipaddr) { s_login_info.setIpaddr(this.getIpaddr()); } if (this.isset_login_location) { s_login_info.setLogin_location(this.getLogin_location()); } if (this.isset_browser) { s_login_info.setBrowser(this.getBrowser()); } if (this.isset_os) { s_login_info.setOs(this.getOs()); } if (this.isset_status) { s_login_info.setStatus(this.getStatus()); } if (this.isset_msg) { s_login_info.setMsg(this.getMsg()); } if (this.isset_login_time) { s_login_info.setLogin_time(this.getLogin_time()); } if (this.isset_base_user_id) { s_login_info.setBase_user_id(this.getBase_user_id()); } if (this.isset_base_user_name) { s_login_info.setBase_user_name(this.getBase_user_name()); } if (this.isset_psn_code) { s_login_info.setPsn_code(this.getPsn_code()); } if (this.isset_phone) { s_login_info.setPhone(this.getPhone()); } if (this.isset_phone_desen) { s_login_info.setPhone_desen(this.getPhone_desen()); } if (this.isset_client_type) { s_login_info.setClient_type(this.getClient_type()); } if (this.isset_group_dept_id) { s_login_info.setGroup_dept_id(this.getGroup_dept_id()); } if (this.isset_province_dept_id) { s_login_info.setProvince_dept_id(this.getProvince_dept_id()); } if (this.isset_city_dept_id) { s_login_info.setCity_dept_id(this.getCity_dept_id()); } if (this.isset_county_dept_id) { s_login_info.setCounty_dept_id(this.getCounty_dept_id()); } if (this.isset_group_dept_name) { s_login_info.setGroup_dept_name(this.getGroup_dept_name()); } if (this.isset_province_dept_name) { s_login_info.setProvince_dept_name(this.getProvince_dept_name()); } if (this.isset_city_dept_name) { s_login_info.setCity_dept_name(this.getCity_dept_name()); } if (this.isset_county_dept_name) { s_login_info.setCounty_dept_name(this.getCounty_dept_name()); } if (this.isset_base_dept_id) { s_login_info.setBase_dept_id(this.getBase_dept_id()); } if (this.isset_base_dept_name) { s_login_info.setBase_dept_name(this.getBase_dept_name()); } return s_login_info; } }