/**
* Copyright (c) 2002 Sinosoft Co.,LTD.
* All right reserved.
*/
package com.sinosoft.lis.schema;
import com.sinosoft.persistence.Entity;
import com.sinosoft.lis.pubfun.FDate;
import com.sinosoft.persistence.Column;
import com.sinosoft.persistence.Id;
import com.sinosoft.persistence.Schema;
import com.sinosoft.persistence.Table;
import com.sinosoft.persistence.impl.SchemaHelper;
import com.sinosoft.utility.CErrors;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import java.util.Date;
/**
*
ClassName: LJDebtsGetDetailSchema
* Description: DB层 Schema 类文件
* Company: Sinosoft Co.,LTD
* @Database Schema2
* @author Makerx2
* @CreateDatetime 2019-03-16 16:05:50 106
*/
@Table(name = "LJDebtsGetDetail")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class LJDebtsGetDetailSchema extends Entity implements Schema, Cloneable {
// @Field
@Getter
@Setter
@Id
@Column(index = 0, name = "DebtsGetNo", desc = "批次号", type = Schema.TYPE_STRING)
private String debtsGetNo;
@Getter
@Setter
@Id
@Column(index = 1, name = "DebtsGetSubNo", desc = "营业外号码", type = Schema.TYPE_STRING)
private String debtsGetSubNo;
@Getter
@Setter
@Column(index = 2, name = "State", desc = "记录状态", type = Schema.TYPE_STRING)
private String state;
@Getter
@Setter
@Column(index = 3, name = "PayCode", desc = "付费号码", type = Schema.TYPE_STRING)
private String payCode;
@Getter
@Setter
@Column(index = 4, name = "GetObj", desc = "支付对象", type = Schema.TYPE_STRING)
private String getObj;
@Getter
@Setter
@Column(index = 5, name = "GrpContNo", desc = "保单号", type = Schema.TYPE_STRING)
private String grpContNo;
@Getter
@Setter
@Column(index = 6, name = "AppntNo", desc = "投保人编码", type = Schema.TYPE_STRING)
private String appntNo;
@Getter
@Setter
@Column(index = 7, name = "BussType", desc = "业务类型", type = Schema.TYPE_STRING)
private String bussType;
@Getter
@Setter
@Column(index = 8, name = "BussNo", desc = "业务号码", type = Schema.TYPE_STRING)
private String bussNo;
@Column(index = 9, name = "ShouldDate", desc = "应收日期", type = Schema.TYPE_DATE)
private Date shouldDate;
@Getter
@Column(index = 10, name = "Money", desc = "金额", type = Schema.TYPE_DOUBLE)
private double money;
@Getter
@Setter
@Column(index = 11, name = "BankCode", desc = "银行编码", type = Schema.TYPE_STRING)
private String bankCode;
@Getter
@Setter
@Column(index = 12, name = "BankAccNo", desc = "银行账号", type = Schema.TYPE_STRING)
private String bankAccNo;
@Getter
@Setter
@Column(index = 13, name = "AccName", desc = "银行账户名", type = Schema.TYPE_STRING)
private String accName;
@Getter
@Setter
@Column(index = 14, name = "RelaNo", desc = "关联号", type = Schema.TYPE_STRING)
private String relaNo;
@Getter
@Setter
@Column(index = 15, name = "AppOperator", desc = "申请人", type = Schema.TYPE_STRING)
private String appOperator;
@Column(index = 16, name = "AppDate", desc = "申请日期", type = Schema.TYPE_DATE)
private Date appDate;
@Getter
@Setter
@Column(index = 17, name = "AppTime", desc = "申请时间", type = Schema.TYPE_STRING)
private String appTime;
@Getter
@Setter
@Column(index = 18, name = "AppDesc", desc = "申请描述", type = Schema.TYPE_STRING)
private String appDesc;
@Getter
@Setter
@Column(index = 19, name = "ConfirmOperator", desc = "审核人", type = Schema.TYPE_STRING)
private String confirmOperator;
@Column(index = 20, name = "ConfirmDate", desc = "审核日期", type = Schema.TYPE_DATE)
private Date confirmDate;
@Getter
@Setter
@Column(index = 21, name = "ConfirmTime", desc = "审核时间", type = Schema.TYPE_STRING)
private String confirmTime;
@Getter
@Setter
@Column(index = 22, name = "ConfirmConclusion", desc = "审核意见", type = Schema.TYPE_STRING)
private String confirmConclusion;
@Getter
@Setter
@Column(index = 23, name = "ConfirmDesc", desc = "审核描述", type = Schema.TYPE_STRING)
private String confirmDesc;
@Getter
@Setter
@Column(index = 24, name = "Segment1", desc = "备用字段1", type = Schema.TYPE_STRING)
private String segment1;
@Getter
@Setter
@Column(index = 25, name = "Segment2", desc = "备用字段2", type = Schema.TYPE_STRING)
private String segment2;
@Getter
@Setter
@Column(index = 26, name = "Segment3", desc = "备用字段3", type = Schema.TYPE_STRING)
private String segment3;
@Getter
@Setter
@Column(index = 27, name = "ManageCom", desc = "管理机构", type = Schema.TYPE_STRING)
private String manageCom;
@Getter
@Setter
@Column(index = 28, name = "ComCode", desc = "机构编码", type = Schema.TYPE_STRING)
private String comCode;
@Getter
@Setter
@Column(index = 29, name = "MakeOperator", desc = "入机操作员", type = Schema.TYPE_STRING)
private String makeOperator;
@Column(index = 30, name = "MakeDate", desc = "入机日期", type = Schema.TYPE_DATE)
private Date makeDate;
@Getter
@Setter
@Column(index = 31, name = "MakeTime", desc = "入机时间", type = Schema.TYPE_STRING)
private String makeTime;
@Getter
@Setter
@Column(index = 32, name = "ModifyOperator", desc = "修改操作员", type = Schema.TYPE_STRING)
private String modifyOperator;
@Column(index = 33, name = "ModifyDate", desc = "修改日期", type = Schema.TYPE_DATE)
private Date modifyDate;
@Getter
@Setter
@Column(index = 34, name = "ModifyTime", desc = "修改时间", type = Schema.TYPE_STRING)
private String modifyTime;
public static final int FIELDNUM = 35; // 数据库表的字段个数
private transient FDate fDate = new FDate(); // 处理日期
public transient CErrors mErrors; // 错误信息
// @Constructor
public LJDebtsGetDetailSchema() {
mErrors = new CErrors();
}
// @Method
public Object clone() throws CloneNotSupportedException {
LJDebtsGetDetailSchema cloned = (LJDebtsGetDetailSchema) super.clone();
cloned.fDate = (FDate) fDate.clone();
cloned.mErrors = (CErrors) mErrors.clone();
SchemaHelper.cloneDate(cloned, this, this.getClass());
return cloned;
}
public String[] getPK() {
return SchemaHelper.getPK(this.getClass());
}
public String getShouldDate() {
if (shouldDate != null)
return fDate.getString(shouldDate);
else
return null;
}
public LJDebtsGetDetailSchema setShouldDate(Date aShouldDate) {
shouldDate = aShouldDate;
return this;
}
public LJDebtsGetDetailSchema setShouldDate(String aShouldDate) {
if (aShouldDate != null && !aShouldDate.equals("") && !aShouldDate.equals("null")) {
shouldDate = fDate.getDate(aShouldDate);
} else {
shouldDate = null;
}
return this;
}
public LJDebtsGetDetailSchema setMoney(double aMoney) {
money = aMoney;
return this;
}
public LJDebtsGetDetailSchema setMoney(String aMoney) {
if (aMoney != null && !aMoney.equals("") && !aMoney.equals("null")) {
money = new Double(aMoney);
}
return this;
}
public String getAppDate() {
if (appDate != null)
return fDate.getString(appDate);
else
return null;
}
public LJDebtsGetDetailSchema setAppDate(Date aAppDate) {
appDate = aAppDate;
return this;
}
public LJDebtsGetDetailSchema setAppDate(String aAppDate) {
if (aAppDate != null && !aAppDate.equals("") && !aAppDate.equals("null")) {
appDate = fDate.getDate(aAppDate);
} else {
appDate = null;
}
return this;
}
public String getConfirmDate() {
if (confirmDate != null)
return fDate.getString(confirmDate);
else
return null;
}
public LJDebtsGetDetailSchema setConfirmDate(Date aConfirmDate) {
confirmDate = aConfirmDate;
return this;
}
public LJDebtsGetDetailSchema setConfirmDate(String aConfirmDate) {
if (aConfirmDate != null && !aConfirmDate.equals("") && !aConfirmDate.equals("null")) {
confirmDate = fDate.getDate(aConfirmDate);
} else {
confirmDate = null;
}
return this;
}
public String getMakeDate() {
if (makeDate != null)
return fDate.getString(makeDate);
else
return null;
}
public LJDebtsGetDetailSchema setMakeDate(Date aMakeDate) {
makeDate = aMakeDate;
return this;
}
public LJDebtsGetDetailSchema setMakeDate(String aMakeDate) {
if (aMakeDate != null && !aMakeDate.equals("") && !aMakeDate.equals("null")) {
makeDate = fDate.getDate(aMakeDate);
} else {
makeDate = null;
}
return this;
}
public String getModifyDate() {
if (modifyDate != null)
return fDate.getString(modifyDate);
else
return null;
}
public LJDebtsGetDetailSchema setModifyDate(Date aModifyDate) {
modifyDate = aModifyDate;
return this;
}
public LJDebtsGetDetailSchema setModifyDate(String aModifyDate) {
if (aModifyDate != null && !aModifyDate.equals("") && !aModifyDate.equals("null")) {
modifyDate = fDate.getDate(aModifyDate);
} else {
modifyDate = null;
}
return this;
}
public LJDebtsGetDetailSchema setSchema(LJDebtsGetDetailSchema aLJDebtsGetDetailSchema) {
SchemaHelper.setSchema(aLJDebtsGetDetailSchema, this);
return this;
}
public LJDebtsGetDetailSchema getSchema() {
LJDebtsGetDetailSchema aLJDebtsGetDetailSchema = new LJDebtsGetDetailSchema();
aLJDebtsGetDetailSchema.setSchema(this);
return aLJDebtsGetDetailSchema;
}
public String encode() {
return SchemaHelper.encode(this);
}
public boolean decode(String strMessage) {
return SchemaHelper.decode(this, strMessage);
}
public String getV(String FCode) {
return SchemaHelper.getV(this, FCode);
}
public String getV(int nFieldIndex) {
return SchemaHelper.getV(this, nFieldIndex);
}
public boolean setV(String FCode, String FValue) {
return SchemaHelper.setV(this, FCode, FValue);
}
public int getFieldCount() {
return FIELDNUM;
}
public int getFieldIndex(String strFieldName) {
return SchemaHelper.getFieldIndex(this.getClass(), strFieldName);
}
public String getFieldName(int nFieldIndex) {
return SchemaHelper.getFieldName(this.getClass(), nFieldIndex);
}
public int getFieldType(String strFieldName) {
return SchemaHelper.getFieldType(this.getClass(), strFieldName);
}
public int getFieldType(int nFieldIndex) {
return SchemaHelper.getFieldType(this.getClass(), nFieldIndex);
}
}