package com.iplatform.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:S_PAY_NOTIFY * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class S_pay_notify extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; /** * 用于兼容老写法 */ @JsonIgnore public static final S_pay_notify ROW_MAPPER = new S_pay_notify(); // 主键 private Long order_id = null; @JsonIgnore protected boolean isset_order_id = false; // 属性列表 private String notify_id = null; @JsonIgnore protected boolean isset_notify_id = false; private Long create_time = null; @JsonIgnore protected boolean isset_create_time = false; private String trade_no = null; @JsonIgnore protected boolean isset_trade_no = false; private String notify_type = null; @JsonIgnore protected boolean isset_notify_type = false; private Long notify_amount = null; @JsonIgnore protected boolean isset_notify_amount = false; private String notify_acct = null; @JsonIgnore protected boolean isset_notify_acct = false; private String notify_status = null; @JsonIgnore protected boolean isset_notify_status = false; private String notify_source = null; @JsonIgnore protected boolean isset_notify_source = false; private String pay_status = null; @JsonIgnore protected boolean isset_pay_status = false; /** * 默认构造函数 */ public S_pay_notify() { } /** * 根据主键构造对象 */ public S_pay_notify(Long order_id) { this.setOrder_id(order_id); } /** * 设置主键值 */ @Override public void setPkValue(Object value) { this.setOrder_id((Long) value); } public Long getOrder_id() { return this.order_id; } public void setOrder_id(Long order_id) { this.order_id = order_id; this.isset_order_id = true; } @JsonIgnore public boolean isEmptyOrder_id() { return this.order_id == null; } public String getNotify_id() { return this.notify_id; } public void setNotify_id(String notify_id) { this.notify_id = notify_id; this.isset_notify_id = true; } @JsonIgnore public boolean isEmptyNotify_id() { return this.notify_id == null || this.notify_id.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; } @JsonIgnore public boolean isEmptyCreate_time() { return this.create_time == null; } public String getTrade_no() { return this.trade_no; } public void setTrade_no(String trade_no) { this.trade_no = trade_no; this.isset_trade_no = true; } @JsonIgnore public boolean isEmptyTrade_no() { return this.trade_no == null || this.trade_no.length() == 0; } public String getNotify_type() { return this.notify_type; } public void setNotify_type(String notify_type) { this.notify_type = notify_type; this.isset_notify_type = true; } @JsonIgnore public boolean isEmptyNotify_type() { return this.notify_type == null || this.notify_type.length() == 0; } public Long getNotify_amount() { return this.notify_amount; } public void setNotify_amount(Long notify_amount) { this.notify_amount = notify_amount; this.isset_notify_amount = true; } @JsonIgnore public boolean isEmptyNotify_amount() { return this.notify_amount == null; } public String getNotify_acct() { return this.notify_acct; } public void setNotify_acct(String notify_acct) { this.notify_acct = notify_acct; this.isset_notify_acct = true; } @JsonIgnore public boolean isEmptyNotify_acct() { return this.notify_acct == null || this.notify_acct.length() == 0; } public String getNotify_status() { return this.notify_status; } public void setNotify_status(String notify_status) { this.notify_status = notify_status; this.isset_notify_status = true; } @JsonIgnore public boolean isEmptyNotify_status() { return this.notify_status == null || this.notify_status.length() == 0; } public String getNotify_source() { return this.notify_source; } public void setNotify_source(String notify_source) { this.notify_source = notify_source; this.isset_notify_source = true; } @JsonIgnore public boolean isEmptyNotify_source() { return this.notify_source == null || this.notify_source.length() == 0; } public String getPay_status() { return this.pay_status; } public void setPay_status(String pay_status) { this.pay_status = pay_status; this.isset_pay_status = true; } @JsonIgnore public boolean isEmptyPay_status() { return this.pay_status == null || this.pay_status.length() == 0; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("order_id=").append(this.order_id) .append("notify_id=").append(this.notify_id) .append("create_time=").append(this.create_time) .append("trade_no=").append(this.trade_no) .append("notify_type=").append(this.notify_type) .append("notify_amount=").append(this.notify_amount) .append("notify_acct=").append(this.notify_acct) .append("notify_status=").append(this.notify_status) .append("notify_source=").append(this.notify_source) .append("pay_status=").append(this.pay_status) .toString(); } /** * 克隆 */ public S_pay_notify $clone() { S_pay_notify s_pay_notify = new S_pay_notify(); // 数据库名称 //s_pay_notify.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_order_id) { s_pay_notify.setOrder_id(this.getOrder_id()); } // 普通属性 if (this.isset_notify_id) { s_pay_notify.setNotify_id(this.getNotify_id()); } if (this.isset_create_time) { s_pay_notify.setCreate_time(this.getCreate_time()); } if (this.isset_trade_no) { s_pay_notify.setTrade_no(this.getTrade_no()); } if (this.isset_notify_type) { s_pay_notify.setNotify_type(this.getNotify_type()); } if (this.isset_notify_amount) { s_pay_notify.setNotify_amount(this.getNotify_amount()); } if (this.isset_notify_acct) { s_pay_notify.setNotify_acct(this.getNotify_acct()); } if (this.isset_notify_status) { s_pay_notify.setNotify_status(this.getNotify_status()); } if (this.isset_notify_source) { s_pay_notify.setNotify_source(this.getNotify_source()); } if (this.isset_pay_status) { s_pay_notify.setPay_status(this.getPay_status()); } return s_pay_notify; } }