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; /** * 默认构造函数 */ 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; } /** * 重写 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) .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()); } return s_oper_log; } }