package com.iplatform.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:S_PAY_ORDER * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class S_pay_order extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; /** * 用于兼容老写法 */ @JsonIgnore public static final S_pay_order ROW_MAPPER = new S_pay_order(); // 主键 private Long id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private Long create_time = null; @JsonIgnore protected boolean isset_create_time = false; private Long org_id = null; @JsonIgnore protected boolean isset_org_id = false; private String pay_definition_id = null; @JsonIgnore protected boolean isset_pay_definition_id = false; private String service_provider = null; @JsonIgnore protected boolean isset_service_provider = false; private String version = null; @JsonIgnore protected boolean isset_version = false; private Integer pay_type = null; @JsonIgnore protected boolean isset_pay_type = false; private String pay_status = null; @JsonIgnore protected boolean isset_pay_status = false; private String pay_status_msg = null; @JsonIgnore protected boolean isset_pay_status_msg = false; private Long pay_success_time = null; @JsonIgnore protected boolean isset_pay_success_time = false; private String trade_no = null; @JsonIgnore protected boolean isset_trade_no = false; private Integer pay_channel = null; @JsonIgnore protected boolean isset_pay_channel = false; private String title = null; @JsonIgnore protected boolean isset_title = false; private String attach = null; @JsonIgnore protected boolean isset_attach = false; private Long total_money = null; @JsonIgnore protected boolean isset_total_money = false; private Long fee = null; @JsonIgnore protected boolean isset_fee = false; private String nonce = null; @JsonIgnore protected boolean isset_nonce = false; private String ip = null; @JsonIgnore protected boolean isset_ip = false; private String device_info = null; @JsonIgnore protected boolean isset_device_info = false; private String buyer_id = null; @JsonIgnore protected boolean isset_buyer_id = false; private String receiver_id = null; @JsonIgnore protected boolean isset_receiver_id = false; private String third_pay_acct = null; @JsonIgnore protected boolean isset_third_pay_acct = false; private String third_pay_info = null; @JsonIgnore protected boolean isset_third_pay_info = false; private String third_pay_time = null; @JsonIgnore protected boolean isset_third_pay_time = false; private String third_trade_no = null; @JsonIgnore protected boolean isset_third_trade_no = false; private String third_notify_id = null; @JsonIgnore protected boolean isset_third_notify_id = false; /** * 默认构造函数 */ public S_pay_order() { } /** * 根据主键构造对象 */ public S_pay_order(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 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 Long getOrg_id() { return this.org_id; } public void setOrg_id(Long org_id) { this.org_id = org_id; this.isset_org_id = true; } @JsonIgnore public boolean isEmptyOrg_id() { return this.org_id == null; } public String getPay_definition_id() { return this.pay_definition_id; } public void setPay_definition_id(String pay_definition_id) { this.pay_definition_id = pay_definition_id; this.isset_pay_definition_id = true; } @JsonIgnore public boolean isEmptyPay_definition_id() { return this.pay_definition_id == null || this.pay_definition_id.length() == 0; } public String getService_provider() { return this.service_provider; } public void setService_provider(String service_provider) { this.service_provider = service_provider; this.isset_service_provider = true; } @JsonIgnore public boolean isEmptyService_provider() { return this.service_provider == null || this.service_provider.length() == 0; } public String getVersion() { return this.version; } public void setVersion(String version) { this.version = version; this.isset_version = true; } @JsonIgnore public boolean isEmptyVersion() { return this.version == null || this.version.length() == 0; } public Integer getPay_type() { return this.pay_type; } public void setPay_type(Integer pay_type) { this.pay_type = pay_type; this.isset_pay_type = true; } @JsonIgnore public boolean isEmptyPay_type() { return this.pay_type == null; } 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; } public String getPay_status_msg() { return this.pay_status_msg; } public void setPay_status_msg(String pay_status_msg) { this.pay_status_msg = pay_status_msg; this.isset_pay_status_msg = true; } @JsonIgnore public boolean isEmptyPay_status_msg() { return this.pay_status_msg == null || this.pay_status_msg.length() == 0; } public Long getPay_success_time() { return this.pay_success_time; } public void setPay_success_time(Long pay_success_time) { this.pay_success_time = pay_success_time; this.isset_pay_success_time = true; } @JsonIgnore public boolean isEmptyPay_success_time() { return this.pay_success_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 Integer getPay_channel() { return this.pay_channel; } public void setPay_channel(Integer pay_channel) { this.pay_channel = pay_channel; this.isset_pay_channel = true; } @JsonIgnore public boolean isEmptyPay_channel() { return this.pay_channel == 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 String getAttach() { return this.attach; } public void setAttach(String attach) { this.attach = attach; this.isset_attach = true; } @JsonIgnore public boolean isEmptyAttach() { return this.attach == null || this.attach.length() == 0; } public Long getTotal_money() { return this.total_money; } public void setTotal_money(Long total_money) { this.total_money = total_money; this.isset_total_money = true; } @JsonIgnore public boolean isEmptyTotal_money() { return this.total_money == null; } public Long getFee() { return this.fee; } public void setFee(Long fee) { this.fee = fee; this.isset_fee = true; } @JsonIgnore public boolean isEmptyFee() { return this.fee == null; } public String getNonce() { return this.nonce; } public void setNonce(String nonce) { this.nonce = nonce; this.isset_nonce = true; } @JsonIgnore public boolean isEmptyNonce() { return this.nonce == null || this.nonce.length() == 0; } public String getIp() { return this.ip; } public void setIp(String ip) { this.ip = ip; this.isset_ip = true; } @JsonIgnore public boolean isEmptyIp() { return this.ip == null || this.ip.length() == 0; } public String getDevice_info() { return this.device_info; } public void setDevice_info(String device_info) { this.device_info = device_info; this.isset_device_info = true; } @JsonIgnore public boolean isEmptyDevice_info() { return this.device_info == null || this.device_info.length() == 0; } public String getBuyer_id() { return this.buyer_id; } public void setBuyer_id(String buyer_id) { this.buyer_id = buyer_id; this.isset_buyer_id = true; } @JsonIgnore public boolean isEmptyBuyer_id() { return this.buyer_id == null || this.buyer_id.length() == 0; } public String getReceiver_id() { return this.receiver_id; } public void setReceiver_id(String receiver_id) { this.receiver_id = receiver_id; this.isset_receiver_id = true; } @JsonIgnore public boolean isEmptyReceiver_id() { return this.receiver_id == null || this.receiver_id.length() == 0; } public String getThird_pay_acct() { return this.third_pay_acct; } public void setThird_pay_acct(String third_pay_acct) { this.third_pay_acct = third_pay_acct; this.isset_third_pay_acct = true; } @JsonIgnore public boolean isEmptyThird_pay_acct() { return this.third_pay_acct == null || this.third_pay_acct.length() == 0; } public String getThird_pay_info() { return this.third_pay_info; } public void setThird_pay_info(String third_pay_info) { this.third_pay_info = third_pay_info; this.isset_third_pay_info = true; } @JsonIgnore public boolean isEmptyThird_pay_info() { return this.third_pay_info == null || this.third_pay_info.length() == 0; } public String getThird_pay_time() { return this.third_pay_time; } public void setThird_pay_time(String third_pay_time) { this.third_pay_time = third_pay_time; this.isset_third_pay_time = true; } @JsonIgnore public boolean isEmptyThird_pay_time() { return this.third_pay_time == null || this.third_pay_time.length() == 0; } public String getThird_trade_no() { return this.third_trade_no; } public void setThird_trade_no(String third_trade_no) { this.third_trade_no = third_trade_no; this.isset_third_trade_no = true; } @JsonIgnore public boolean isEmptyThird_trade_no() { return this.third_trade_no == null || this.third_trade_no.length() == 0; } public String getThird_notify_id() { return this.third_notify_id; } public void setThird_notify_id(String third_notify_id) { this.third_notify_id = third_notify_id; this.isset_third_notify_id = true; } @JsonIgnore public boolean isEmptyThird_notify_id() { return this.third_notify_id == null || this.third_notify_id.length() == 0; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("create_time=").append(this.create_time) .append("org_id=").append(this.org_id) .append("pay_definition_id=").append(this.pay_definition_id) .append("service_provider=").append(this.service_provider) .append("version=").append(this.version) .append("pay_type=").append(this.pay_type) .append("pay_status=").append(this.pay_status) .append("pay_status_msg=").append(this.pay_status_msg) .append("pay_success_time=").append(this.pay_success_time) .append("trade_no=").append(this.trade_no) .append("pay_channel=").append(this.pay_channel) .append("title=").append(this.title) .append("attach=").append(this.attach) .append("total_money=").append(this.total_money) .append("fee=").append(this.fee) .append("nonce=").append(this.nonce) .append("ip=").append(this.ip) .append("device_info=").append(this.device_info) .append("buyer_id=").append(this.buyer_id) .append("receiver_id=").append(this.receiver_id) .append("third_pay_acct=").append(this.third_pay_acct) .append("third_pay_info=").append(this.third_pay_info) .append("third_pay_time=").append(this.third_pay_time) .append("third_trade_no=").append(this.third_trade_no) .append("third_notify_id=").append(this.third_notify_id) .toString(); } /** * 克隆 */ public S_pay_order $clone() { S_pay_order s_pay_order = new S_pay_order(); // 数据库名称 //s_pay_order.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { s_pay_order.setId(this.getId()); } // 普通属性 if (this.isset_create_time) { s_pay_order.setCreate_time(this.getCreate_time()); } if (this.isset_org_id) { s_pay_order.setOrg_id(this.getOrg_id()); } if (this.isset_pay_definition_id) { s_pay_order.setPay_definition_id(this.getPay_definition_id()); } if (this.isset_service_provider) { s_pay_order.setService_provider(this.getService_provider()); } if (this.isset_version) { s_pay_order.setVersion(this.getVersion()); } if (this.isset_pay_type) { s_pay_order.setPay_type(this.getPay_type()); } if (this.isset_pay_status) { s_pay_order.setPay_status(this.getPay_status()); } if (this.isset_pay_status_msg) { s_pay_order.setPay_status_msg(this.getPay_status_msg()); } if (this.isset_pay_success_time) { s_pay_order.setPay_success_time(this.getPay_success_time()); } if (this.isset_trade_no) { s_pay_order.setTrade_no(this.getTrade_no()); } if (this.isset_pay_channel) { s_pay_order.setPay_channel(this.getPay_channel()); } if (this.isset_title) { s_pay_order.setTitle(this.getTitle()); } if (this.isset_attach) { s_pay_order.setAttach(this.getAttach()); } if (this.isset_total_money) { s_pay_order.setTotal_money(this.getTotal_money()); } if (this.isset_fee) { s_pay_order.setFee(this.getFee()); } if (this.isset_nonce) { s_pay_order.setNonce(this.getNonce()); } if (this.isset_ip) { s_pay_order.setIp(this.getIp()); } if (this.isset_device_info) { s_pay_order.setDevice_info(this.getDevice_info()); } if (this.isset_buyer_id) { s_pay_order.setBuyer_id(this.getBuyer_id()); } if (this.isset_receiver_id) { s_pay_order.setReceiver_id(this.getReceiver_id()); } if (this.isset_third_pay_acct) { s_pay_order.setThird_pay_acct(this.getThird_pay_acct()); } if (this.isset_third_pay_info) { s_pay_order.setThird_pay_info(this.getThird_pay_info()); } if (this.isset_third_pay_time) { s_pay_order.setThird_pay_time(this.getThird_pay_time()); } if (this.isset_third_trade_no) { s_pay_order.setThird_trade_no(this.getThird_trade_no()); } if (this.isset_third_notify_id) { s_pay_order.setThird_notify_id(this.getThird_notify_id()); } return s_pay_order; } }