package com.iplatform.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:S_PAY_DEFINITION *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class S_pay_definition extends BasePo<S_pay_definition> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 用于兼容老写法
|
*/
|
@JsonIgnore
|
public static final S_pay_definition ROW_MAPPER = new S_pay_definition();
|
|
// 主键
|
private String id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long create_time = null;
|
@JsonIgnore
|
protected boolean isset_create_time = false;
|
|
private String name = null;
|
@JsonIgnore
|
protected boolean isset_name = 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_channel = null;
|
@JsonIgnore
|
protected boolean isset_pay_channel = false;
|
|
private String provider_class = null;
|
@JsonIgnore
|
protected boolean isset_provider_class = false;
|
|
private Integer enabled = null;
|
@JsonIgnore
|
protected boolean isset_enabled = false;
|
|
private String summary = null;
|
@JsonIgnore
|
protected boolean isset_summary = false;
|
|
private String order_convertor_class = null;
|
@JsonIgnore
|
protected boolean isset_order_convertor_class = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public S_pay_definition() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public S_pay_definition(String id) {
|
this.setId(id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setId((String) value);
|
}
|
|
public String getId() {
|
return this.id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
this.isset_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyId() {
|
return this.id == null || this.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 getName() {
|
return this.name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
this.isset_name = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyName() {
|
return this.name == null || this.name.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_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 getProvider_class() {
|
return this.provider_class;
|
}
|
|
public void setProvider_class(String provider_class) {
|
this.provider_class = provider_class;
|
this.isset_provider_class = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyProvider_class() {
|
return this.provider_class == null || this.provider_class.length() == 0;
|
}
|
|
public Integer getEnabled() {
|
return this.enabled;
|
}
|
|
public void setEnabled(Integer enabled) {
|
this.enabled = enabled;
|
this.isset_enabled = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyEnabled() {
|
return this.enabled == null;
|
}
|
|
public String getSummary() {
|
return this.summary;
|
}
|
|
public void setSummary(String summary) {
|
this.summary = summary;
|
this.isset_summary = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySummary() {
|
return this.summary == null || this.summary.length() == 0;
|
}
|
|
public String getOrder_convertor_class() {
|
return this.order_convertor_class;
|
}
|
|
public void setOrder_convertor_class(String order_convertor_class) {
|
this.order_convertor_class = order_convertor_class;
|
this.isset_order_convertor_class = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOrder_convertor_class() {
|
return this.order_convertor_class == null || this.order_convertor_class.length() == 0;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("create_time=").append(this.create_time)
|
.append("name=").append(this.name)
|
.append("service_provider=").append(this.service_provider)
|
.append("version=").append(this.version)
|
.append("pay_channel=").append(this.pay_channel)
|
.append("provider_class=").append(this.provider_class)
|
.append("enabled=").append(this.enabled)
|
.append("summary=").append(this.summary)
|
.append("order_convertor_class=").append(this.order_convertor_class)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public S_pay_definition $clone() {
|
S_pay_definition s_pay_definition = new S_pay_definition();
|
|
// 数据库名称
|
//s_pay_definition.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
s_pay_definition.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_create_time) {
|
s_pay_definition.setCreate_time(this.getCreate_time());
|
}
|
if (this.isset_name) {
|
s_pay_definition.setName(this.getName());
|
}
|
if (this.isset_service_provider) {
|
s_pay_definition.setService_provider(this.getService_provider());
|
}
|
if (this.isset_version) {
|
s_pay_definition.setVersion(this.getVersion());
|
}
|
if (this.isset_pay_channel) {
|
s_pay_definition.setPay_channel(this.getPay_channel());
|
}
|
if (this.isset_provider_class) {
|
s_pay_definition.setProvider_class(this.getProvider_class());
|
}
|
if (this.isset_enabled) {
|
s_pay_definition.setEnabled(this.getEnabled());
|
}
|
if (this.isset_summary) {
|
s_pay_definition.setSummary(this.getSummary());
|
}
|
if (this.isset_order_convertor_class) {
|
s_pay_definition.setOrder_convertor_class(this.getOrder_convertor_class());
|
}
|
return s_pay_definition;
|
}
|
}
|