package com.iplatform.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:S_OPER_LOG * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class S_oper_log extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; /** * 用于兼容老写法 */ @JsonIgnore public static final S_oper_log ROW_MAPPER = new S_oper_log(); // 主键 private Long oper_id = null; @JsonIgnore protected boolean isset_oper_id = false; // 属性列表 private String title = null; @JsonIgnore protected boolean isset_title = false; private Integer business_type = null; @JsonIgnore protected boolean isset_business_type = false; private String method = null; @JsonIgnore protected boolean isset_method = false; private String request_method = null; @JsonIgnore protected boolean isset_request_method = false; private Integer operate_user = null; @JsonIgnore protected boolean isset_operate_user = false; private String oper_name = null; @JsonIgnore protected boolean isset_oper_name = false; private String dept_name = null; @JsonIgnore protected boolean isset_dept_name = false; private String oper_url = null; @JsonIgnore protected boolean isset_oper_url = false; private String oper_ip = null; @JsonIgnore protected boolean isset_oper_ip = false; private String oper_location = null; @JsonIgnore protected boolean isset_oper_location = false; private String oper_param = null; @JsonIgnore protected boolean isset_oper_param = false; private String json_result = null; @JsonIgnore protected boolean isset_json_result = false; private Integer status = null; @JsonIgnore protected boolean isset_status = false; private String error_msg = null; @JsonIgnore protected boolean isset_error_msg = false; private Long oper_time = null; @JsonIgnore protected boolean isset_oper_time = 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; 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 base_user_code = null; @JsonIgnore protected boolean isset_base_user_code = 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; /** * 默认构造函数 */ public S_oper_log() { } /** * 根据主键构造对象 */ public S_oper_log(Long oper_id) { this.setOper_id(oper_id); } /** * 设置主键值 */ @Override public void setPkValue(Object value) { this.setOper_id((Long) value); } public Long getOper_id() { return this.oper_id; } public void setOper_id(Long oper_id) { this.oper_id = oper_id; this.isset_oper_id = true; } @JsonIgnore public boolean isEmptyOper_id() { return this.oper_id == null; } public String getTitle() { return this.title; } public void setTitle(String title) { this.title = title; this.isset_title = true; } @JsonIgnore public boolean isEmptyTitle() { return this.title == null || this.title.length() == 0; } public Integer getBusiness_type() { return this.business_type; } public void setBusiness_type(Integer business_type) { this.business_type = business_type; this.isset_business_type = true; } @JsonIgnore public boolean isEmptyBusiness_type() { return this.business_type == null; } public String getMethod() { return this.method; } public void setMethod(String method) { this.method = method; this.isset_method = true; } @JsonIgnore public boolean isEmptyMethod() { return this.method == null || this.method.length() == 0; } public String getRequest_method() { return this.request_method; } public void setRequest_method(String request_method) { this.request_method = request_method; this.isset_request_method = true; } @JsonIgnore public boolean isEmptyRequest_method() { return this.request_method == null || this.request_method.length() == 0; } public Integer getOperate_user() { return this.operate_user; } public void setOperate_user(Integer operate_user) { this.operate_user = operate_user; this.isset_operate_user = true; } @JsonIgnore public boolean isEmptyOperate_user() { return this.operate_user == null; } public String getOper_name() { return this.oper_name; } public void setOper_name(String oper_name) { this.oper_name = oper_name; this.isset_oper_name = true; } @JsonIgnore public boolean isEmptyOper_name() { return this.oper_name == null || this.oper_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; } public String getOper_url() { return this.oper_url; } public void setOper_url(String oper_url) { this.oper_url = oper_url; this.isset_oper_url = true; } @JsonIgnore public boolean isEmptyOper_url() { return this.oper_url == null || this.oper_url.length() == 0; } public String getOper_ip() { return this.oper_ip; } public void setOper_ip(String oper_ip) { this.oper_ip = oper_ip; this.isset_oper_ip = true; } @JsonIgnore public boolean isEmptyOper_ip() { return this.oper_ip == null || this.oper_ip.length() == 0; } public String getOper_location() { return this.oper_location; } public void setOper_location(String oper_location) { this.oper_location = oper_location; this.isset_oper_location = true; } @JsonIgnore public boolean isEmptyOper_location() { return this.oper_location == null || this.oper_location.length() == 0; } public String getOper_param() { return this.oper_param; } public void setOper_param(String oper_param) { this.oper_param = oper_param; this.isset_oper_param = true; } @JsonIgnore public boolean isEmptyOper_param() { return this.oper_param == null || this.oper_param.length() == 0; } public String getJson_result() { return this.json_result; } public void setJson_result(String json_result) { this.json_result = json_result; this.isset_json_result = true; } @JsonIgnore public boolean isEmptyJson_result() { return this.json_result == null || this.json_result.length() == 0; } public Integer getStatus() { return this.status; } public void setStatus(Integer status) { this.status = status; this.isset_status = true; } @JsonIgnore public boolean isEmptyStatus() { return this.status == null; } public String getError_msg() { return this.error_msg; } public void setError_msg(String error_msg) { this.error_msg = error_msg; this.isset_error_msg = true; } @JsonIgnore public boolean isEmptyError_msg() { return this.error_msg == null || this.error_msg.length() == 0; } public Long getOper_time() { return this.oper_time; } public void setOper_time(Long oper_time) { this.oper_time = oper_time; this.isset_oper_time = true; } @JsonIgnore public boolean isEmptyOper_time() { return this.oper_time == null; } 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; } 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 getBase_user_code() { return this.base_user_code; } public void setBase_user_code(String base_user_code) { this.base_user_code = base_user_code; this.isset_base_user_code = true; } @JsonIgnore public boolean isEmptyBase_user_code() { return this.base_user_code == null || this.base_user_code.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; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("oper_id=").append(this.oper_id) .append("title=").append(this.title) .append("business_type=").append(this.business_type) .append("method=").append(this.method) .append("request_method=").append(this.request_method) .append("operate_user=").append(this.operate_user) .append("oper_name=").append(this.oper_name) .append("dept_name=").append(this.dept_name) .append("oper_url=").append(this.oper_url) .append("oper_ip=").append(this.oper_ip) .append("oper_location=").append(this.oper_location) .append("oper_param=").append(this.oper_param) .append("json_result=").append(this.json_result) .append("status=").append(this.status) .append("error_msg=").append(this.error_msg) .append("oper_time=").append(this.oper_time) .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) .append("base_user_id=").append(this.base_user_id) .append("base_user_name=").append(this.base_user_name) .append("base_user_code=").append(this.base_user_code) .append("psn_code=").append(this.psn_code) .append("phone=").append(this.phone) .append("phone_desen=").append(this.phone_desen) .toString(); } /** * 克隆 */ public S_oper_log $clone() { S_oper_log s_oper_log = new S_oper_log(); // 数据库名称 //s_oper_log.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_oper_id) { s_oper_log.setOper_id(this.getOper_id()); } // 普通属性 if (this.isset_title) { s_oper_log.setTitle(this.getTitle()); } if (this.isset_business_type) { s_oper_log.setBusiness_type(this.getBusiness_type()); } if (this.isset_method) { s_oper_log.setMethod(this.getMethod()); } if (this.isset_request_method) { s_oper_log.setRequest_method(this.getRequest_method()); } if (this.isset_operate_user) { s_oper_log.setOperate_user(this.getOperate_user()); } if (this.isset_oper_name) { s_oper_log.setOper_name(this.getOper_name()); } if (this.isset_dept_name) { s_oper_log.setDept_name(this.getDept_name()); } if (this.isset_oper_url) { s_oper_log.setOper_url(this.getOper_url()); } if (this.isset_oper_ip) { s_oper_log.setOper_ip(this.getOper_ip()); } if (this.isset_oper_location) { s_oper_log.setOper_location(this.getOper_location()); } if (this.isset_oper_param) { s_oper_log.setOper_param(this.getOper_param()); } if (this.isset_json_result) { s_oper_log.setJson_result(this.getJson_result()); } if (this.isset_status) { s_oper_log.setStatus(this.getStatus()); } if (this.isset_error_msg) { s_oper_log.setError_msg(this.getError_msg()); } if (this.isset_oper_time) { s_oper_log.setOper_time(this.getOper_time()); } if (this.isset_group_dept_id) { s_oper_log.setGroup_dept_id(this.getGroup_dept_id()); } if (this.isset_province_dept_id) { s_oper_log.setProvince_dept_id(this.getProvince_dept_id()); } if (this.isset_city_dept_id) { s_oper_log.setCity_dept_id(this.getCity_dept_id()); } if (this.isset_county_dept_id) { s_oper_log.setCounty_dept_id(this.getCounty_dept_id()); } if (this.isset_group_dept_name) { s_oper_log.setGroup_dept_name(this.getGroup_dept_name()); } if (this.isset_province_dept_name) { s_oper_log.setProvince_dept_name(this.getProvince_dept_name()); } if (this.isset_city_dept_name) { s_oper_log.setCity_dept_name(this.getCity_dept_name()); } if (this.isset_county_dept_name) { s_oper_log.setCounty_dept_name(this.getCounty_dept_name()); } if (this.isset_base_dept_id) { s_oper_log.setBase_dept_id(this.getBase_dept_id()); } if (this.isset_base_dept_name) { s_oper_log.setBase_dept_name(this.getBase_dept_name()); } if (this.isset_base_user_id) { s_oper_log.setBase_user_id(this.getBase_user_id()); } if (this.isset_base_user_name) { s_oper_log.setBase_user_name(this.getBase_user_name()); } if (this.isset_base_user_code) { s_oper_log.setBase_user_code(this.getBase_user_code()); } if (this.isset_psn_code) { s_oper_log.setPsn_code(this.getPsn_code()); } if (this.isset_phone) { s_oper_log.setPhone(this.getPhone()); } if (this.isset_phone_desen) { s_oper_log.setPhone_desen(this.getPhone_desen()); } return s_oper_log; } }