You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
300 lines
7.9 KiB
300 lines
7.9 KiB
/**
|
|
* 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;
|
|
|
|
/**
|
|
* <p>ClassName: LOBContPlanExpandSubSchema </p>
|
|
* <p>Description: DB层 Schema 类文件 </p>
|
|
* <p>Company: Sinosoft Co.,LTD </p>
|
|
* @Database Schema2
|
|
* @author Makerx2
|
|
* @CreateDatetime 2019-03-16 16:05:38 818
|
|
*/
|
|
@Table(name = "LOBContPlanExpandSub")
|
|
@EqualsAndHashCode(callSuper = false)
|
|
@Accessors(chain = true)
|
|
public class LOBContPlanExpandSubSchema extends Entity implements Schema<LOBContPlanExpandSubSchema>, Cloneable {
|
|
// @Field
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 0, name = "PolicyNo", desc = "保单号", type = Schema.TYPE_STRING)
|
|
private String policyNo;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 1, name = "SysPlanCode", desc = "系统方案编码", type = Schema.TYPE_STRING)
|
|
private String sysPlanCode;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 2, name = "PlanCode", desc = "方案编码", type = Schema.TYPE_STRING)
|
|
private String planCode;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 3, name = "RiskCode", desc = "险种编码", type = Schema.TYPE_STRING)
|
|
private String riskCode;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 4, name = "DutyCode", desc = "责任编码", type = Schema.TYPE_STRING)
|
|
private String dutyCode;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 5, name = "GetDutyCode", desc = "给付编码", type = Schema.TYPE_STRING)
|
|
private String getDutyCode;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 6, name = "ExpandDutyCode", desc = "拓展责任编码", type = Schema.TYPE_STRING)
|
|
private String expandDutyCode;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 7, name = "P1", desc = "P1", type = Schema.TYPE_STRING)
|
|
private String p1;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 8, name = "P2", desc = "P2", type = Schema.TYPE_STRING)
|
|
private String p2;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 9, name = "P3", desc = "P3", type = Schema.TYPE_STRING)
|
|
private String p3;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 10, name = "P4", desc = "P4", type = Schema.TYPE_STRING)
|
|
private String p4;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 11, name = "P5", desc = "P5", type = Schema.TYPE_STRING)
|
|
private String p5;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 12, name = "P6", desc = "P6", type = Schema.TYPE_STRING)
|
|
private String p6;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 13, name = "P7", desc = "P7", type = Schema.TYPE_STRING)
|
|
private String p7;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 14, name = "P8", desc = "P8", type = Schema.TYPE_STRING)
|
|
private String p8;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 15, name = "P9", desc = "P9", type = Schema.TYPE_STRING)
|
|
private String p9;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 16, name = "P10", desc = "P10", type = Schema.TYPE_STRING)
|
|
private String p10;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 17, name = "P11", desc = "P11", type = Schema.TYPE_STRING)
|
|
private String p11;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 18, name = "P12", desc = "P12", type = Schema.TYPE_STRING)
|
|
private String p12;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 19, name = "P13", desc = "P13", type = Schema.TYPE_STRING)
|
|
private String p13;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 20, name = "P14", desc = "P14", type = Schema.TYPE_STRING)
|
|
private String p14;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 21, name = "P15", desc = "P15", type = Schema.TYPE_STRING)
|
|
private String p15;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 22, name = "P16", desc = "P16", type = Schema.TYPE_STRING)
|
|
private String p16;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 23, name = "P17", desc = "P17", type = Schema.TYPE_STRING)
|
|
private String p17;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 24, name = "P18", desc = "P18", type = Schema.TYPE_STRING)
|
|
private String p18;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 25, name = "P19", desc = "P19", type = Schema.TYPE_STRING)
|
|
private String p19;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 26, name = "P20", desc = "P20", type = Schema.TYPE_STRING)
|
|
private String p20;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 27, name = "P21", desc = "P21", type = Schema.TYPE_STRING)
|
|
private String p21;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 28, name = "P22", desc = "P22", type = Schema.TYPE_STRING)
|
|
private String p22;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 29, name = "P23", desc = "P23", type = Schema.TYPE_STRING)
|
|
private String p23;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 30, name = "P24", desc = "P24", type = Schema.TYPE_STRING)
|
|
private String p24;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 31, name = "P25", desc = "P25", type = Schema.TYPE_STRING)
|
|
private String p25;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 32, name = "P26", desc = "P26", type = Schema.TYPE_STRING)
|
|
private String p26;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 33, name = "P27", desc = "P27", type = Schema.TYPE_STRING)
|
|
private String p27;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 34, name = "P28", desc = "P28", type = Schema.TYPE_STRING)
|
|
private String p28;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 35, name = "P29", desc = "P29", type = Schema.TYPE_STRING)
|
|
private String p29;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 36, name = "P30", desc = "P30", type = Schema.TYPE_STRING)
|
|
private String p30;
|
|
|
|
|
|
public static final int FIELDNUM = 37; // 数据库表的字段个数
|
|
|
|
public transient CErrors mErrors; // 错误信息
|
|
|
|
// @Constructor
|
|
public LOBContPlanExpandSubSchema() {
|
|
mErrors = new CErrors();
|
|
}
|
|
|
|
// @Method
|
|
public Object clone() throws CloneNotSupportedException {
|
|
LOBContPlanExpandSubSchema cloned = (LOBContPlanExpandSubSchema) super.clone();
|
|
cloned.mErrors = (CErrors) mErrors.clone();
|
|
SchemaHelper.cloneDate(cloned, this, this.getClass());
|
|
return cloned;
|
|
}
|
|
|
|
public String[] getPK() {
|
|
return SchemaHelper.getPK(this.getClass());
|
|
}
|
|
|
|
public LOBContPlanExpandSubSchema setSchema(LOBContPlanExpandSubSchema aLOBContPlanExpandSubSchema) {
|
|
SchemaHelper.setSchema(aLOBContPlanExpandSubSchema, this);
|
|
return this;
|
|
}
|
|
|
|
public LOBContPlanExpandSubSchema getSchema() {
|
|
LOBContPlanExpandSubSchema aLOBContPlanExpandSubSchema = new LOBContPlanExpandSubSchema();
|
|
aLOBContPlanExpandSubSchema.setSchema(this);
|
|
return aLOBContPlanExpandSubSchema;
|
|
}
|
|
|
|
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);
|
|
}
|
|
}
|
|
|