package com.ks.goldcorn.pojo.DO;
|
|
import com.google.gson.Gson;
|
|
import java.util.Date;
|
|
public class GoldCornConsumeSource {
|
private Long id;
|
|
private Long appId;
|
|
private String sourceName;
|
|
private String sourceCode;
|
|
private String sourceDesc;
|
|
private Integer goldCorn;
|
|
private String remarks;
|
|
private Date createTime;
|
|
private Date updateTime;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getAppId() {
|
return appId;
|
}
|
|
public void setAppId(Long appId) {
|
this.appId = appId;
|
}
|
|
public String getSourceName() {
|
return sourceName;
|
}
|
|
public void setSourceName(String sourceName) {
|
this.sourceName = sourceName == null ? null : sourceName.trim();
|
}
|
|
public String getSourceCode() {
|
return sourceCode;
|
}
|
|
public void setSourceCode(String sourceCode) {
|
this.sourceCode = sourceCode == null ? null : sourceCode.trim();
|
}
|
|
public String getSourceDesc() {
|
return sourceDesc;
|
}
|
|
public void setSourceDesc(String sourceDesc) {
|
this.sourceDesc = sourceDesc == null ? null : sourceDesc.trim();
|
}
|
|
public Integer getGoldCorn() {
|
return goldCorn;
|
}
|
|
public void setGoldCorn(Integer goldCorn) {
|
this.goldCorn = goldCorn;
|
}
|
|
public String getRemarks() {
|
return remarks;
|
}
|
|
public void setRemarks(String remarks) {
|
this.remarks = remarks == null ? null : remarks.trim();
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
@Override
|
public String toString() {
|
return new Gson().toJson(this);
|
}
|
}
|