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.
1047 lines
26 KiB
1047 lines
26 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: LDPersonSchema </p>
|
|
* <p>Description: DB层 Schema 类文件 </p>
|
|
* <p>Company: Sinosoft Co.,LTD </p>
|
|
*
|
|
* @author Makerx2
|
|
* @Database PhysicalDataModel_1
|
|
* @CreateDatetime 2025-04-23 11:28:58 668
|
|
*/
|
|
@Table(name = "LDPerson", desc = "LDPerson")
|
|
@EqualsAndHashCode(callSuper = false)
|
|
@Accessors(chain = true)
|
|
public class LDPersonSchema extends Entity implements Schema<LDPersonSchema>, Cloneable {
|
|
// @Field
|
|
/**
|
|
* 客户号码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 0, name = "CustomerNo", desc = "客户号码", type = Schema.TYPE_STRING)
|
|
private String customerNo;
|
|
|
|
/**
|
|
* 客户姓名
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 1, name = "Name", desc = "客户姓名", type = Schema.TYPE_STRING)
|
|
private String name;
|
|
|
|
/**
|
|
* 客户性别
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 2, name = "Sex", desc = "客户性别", type = Schema.TYPE_STRING)
|
|
private String sex;
|
|
|
|
/**
|
|
* 客户出生日期
|
|
*/
|
|
@Column(index = 3, name = "Birthday", desc = "客户出生日期", type = Schema.TYPE_DATE)
|
|
private Date birthday;
|
|
|
|
/**
|
|
* 证件类型
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 4, name = "IDType", desc = "证件类型", type = Schema.TYPE_STRING)
|
|
private String iDType;
|
|
|
|
/**
|
|
* 证件号码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 5, name = "IDNo", desc = "证件号码", type = Schema.TYPE_STRING)
|
|
private String iDNo;
|
|
|
|
/**
|
|
* 密码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 6, name = "Password", desc = "密码", type = Schema.TYPE_STRING)
|
|
private String password;
|
|
|
|
/**
|
|
* 国籍
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 7, name = "NativePlace", desc = "国籍", type = Schema.TYPE_STRING)
|
|
private String nativePlace;
|
|
|
|
/**
|
|
* 民族
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 8, name = "Nationality", desc = "民族", type = Schema.TYPE_STRING)
|
|
private String nationality;
|
|
|
|
/**
|
|
* 户口所在地
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 9, name = "RgtAddress", desc = "户口所在地", type = Schema.TYPE_STRING)
|
|
private String rgtAddress;
|
|
|
|
/**
|
|
* 婚姻状况
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 10, name = "Marriage", desc = "婚姻状况", type = Schema.TYPE_STRING)
|
|
private String marriage;
|
|
|
|
/**
|
|
* 结婚日期
|
|
*/
|
|
@Column(index = 11, name = "MarriageDate", desc = "结婚日期", type = Schema.TYPE_DATE)
|
|
private Date marriageDate;
|
|
|
|
/**
|
|
* 健康状况
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 12, name = "Health", desc = "健康状况", type = Schema.TYPE_STRING)
|
|
private String health;
|
|
|
|
/**
|
|
* 身高
|
|
*/
|
|
@Getter
|
|
@Column(index = 13, name = "Stature", desc = "身高", type = Schema.TYPE_DOUBLE)
|
|
private double stature;
|
|
|
|
/**
|
|
* 体重
|
|
*/
|
|
@Getter
|
|
@Column(index = 14, name = "Avoirdupois", desc = "体重", type = Schema.TYPE_DOUBLE)
|
|
private double avoirdupois;
|
|
|
|
/**
|
|
* 学历
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 15, name = "Degree", desc = "学历", type = Schema.TYPE_STRING)
|
|
private String degree;
|
|
|
|
/**
|
|
* 信用等级
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 16, name = "CreditGrade", desc = "信用等级", type = Schema.TYPE_STRING)
|
|
private String creditGrade;
|
|
|
|
/**
|
|
* 其它证件类型
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 17, name = "OthIDType", desc = "其它证件类型", type = Schema.TYPE_STRING)
|
|
private String othIDType;
|
|
|
|
/**
|
|
* 其它证件号码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 18, name = "OthIDNo", desc = "其它证件号码", type = Schema.TYPE_STRING)
|
|
private String othIDNo;
|
|
|
|
/**
|
|
* ic卡号
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 19, name = "ICNo", desc = "ic卡号", type = Schema.TYPE_STRING)
|
|
private String iCNo;
|
|
|
|
/**
|
|
* 单位编码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 20, name = "GrpNo", desc = "单位编码", type = Schema.TYPE_STRING)
|
|
private String grpNo;
|
|
|
|
/**
|
|
* 入司日期
|
|
*/
|
|
@Column(index = 21, name = "JoinCompanyDate", desc = "入司日期", type = Schema.TYPE_DATE)
|
|
private Date joinCompanyDate;
|
|
|
|
/**
|
|
* 参加工作日期
|
|
*/
|
|
@Column(index = 22, name = "StartWorkDate", desc = "参加工作日期", type = Schema.TYPE_DATE)
|
|
private Date startWorkDate;
|
|
|
|
/**
|
|
* 职位
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 23, name = "Position", desc = "职位", type = Schema.TYPE_STRING)
|
|
private String position;
|
|
|
|
/**
|
|
* 工资
|
|
*/
|
|
@Getter
|
|
@Column(index = 24, name = "Salary", desc = "工资", type = Schema.TYPE_DOUBLE)
|
|
private double salary;
|
|
|
|
/**
|
|
* 职业类别
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 25, name = "OccupationType", desc = "职业类别", type = Schema.TYPE_STRING)
|
|
private String occupationType;
|
|
|
|
/**
|
|
* 职业代码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 26, name = "OccupationCode", desc = "职业代码", type = Schema.TYPE_STRING)
|
|
private String occupationCode;
|
|
|
|
/**
|
|
* 职业(工种)
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 27, name = "WorkType", desc = "职业(工种)", type = Schema.TYPE_STRING)
|
|
private String workType;
|
|
|
|
/**
|
|
* 兼职(工种)
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 28, name = "PluralityType", desc = "兼职(工种)", type = Schema.TYPE_STRING)
|
|
private String pluralityType;
|
|
|
|
/**
|
|
* 死亡日期
|
|
*/
|
|
@Column(index = 29, name = "DeathDate", desc = "死亡日期", type = Schema.TYPE_DATE)
|
|
private Date deathDate;
|
|
|
|
/**
|
|
* 是否吸烟标志
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 30, name = "SmokeFlag", desc = "是否吸烟标志", type = Schema.TYPE_STRING)
|
|
private String smokeFlag;
|
|
|
|
/**
|
|
* 黑名单标记
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 31, name = "BlacklistFlag", desc = "黑名单标记", type = Schema.TYPE_STRING)
|
|
private String blacklistFlag;
|
|
|
|
/**
|
|
* 属性
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 32, name = "Proterty", desc = "属性", type = Schema.TYPE_STRING)
|
|
private String proterty;
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 33, name = "Remark", desc = "备注", type = Schema.TYPE_STRING)
|
|
private String remark;
|
|
|
|
/**
|
|
* 状态
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 34, name = "State", desc = "状态", type = Schema.TYPE_STRING)
|
|
private String state;
|
|
|
|
/**
|
|
* VIP值
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 35, name = "VIPValue", desc = "VIP值", type = Schema.TYPE_STRING)
|
|
private String vIPValue;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 36, name = "Operator", desc = "Operator", type = Schema.TYPE_STRING)
|
|
private String operator;
|
|
|
|
/**
|
|
* 入机日期
|
|
*/
|
|
@Column(index = 37, name = "MakeDate", desc = "入机日期", type = Schema.TYPE_DATE)
|
|
private Date makeDate;
|
|
|
|
/**
|
|
* 入机时间
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 38, name = "MakeTime", desc = "入机时间", type = Schema.TYPE_STRING)
|
|
private String makeTime;
|
|
|
|
/**
|
|
* 最后一次修改日期
|
|
*/
|
|
@Column(index = 39, name = "ModifyDate", desc = "最后一次修改日期", type = Schema.TYPE_DATE)
|
|
private Date modifyDate;
|
|
|
|
/**
|
|
* 最后一次修改时间
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 40, name = "ModifyTime", desc = "最后一次修改时间", type = Schema.TYPE_STRING)
|
|
private String modifyTime;
|
|
|
|
/**
|
|
* 单位名称
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 41, name = "GrpName", desc = "单位名称", type = Schema.TYPE_STRING)
|
|
private String grpName;
|
|
|
|
/**
|
|
* 驾照
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 42, name = "License", desc = "驾照", type = Schema.TYPE_STRING)
|
|
private String license;
|
|
|
|
/**
|
|
* 驾照类型
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 43, name = "LicenseType", desc = "驾照类型", type = Schema.TYPE_STRING)
|
|
private String licenseType;
|
|
|
|
/**
|
|
* 社保登记号
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 44, name = "SocialInsuNo", desc = "社保登记号", type = Schema.TYPE_STRING)
|
|
private String socialInsuNo;
|
|
|
|
/**
|
|
* 原因类别
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 45, name = "ReasonType", desc = "原因类别", type = Schema.TYPE_STRING)
|
|
private String reasonType;
|
|
|
|
/**
|
|
* 是否有社保标志
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 46, name = "SocialInsuFlag", desc = "是否有社保标志", type = Schema.TYPE_STRING)
|
|
private String socialInsuFlag;
|
|
|
|
/**
|
|
* 证件有效期
|
|
*/
|
|
@Column(index = 47, name = "IDExpDate", desc = "证件有效期", type = Schema.TYPE_DATE)
|
|
private Date iDExpDate;
|
|
|
|
/**
|
|
* 姓
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 48, name = "LastName", desc = "姓", type = Schema.TYPE_STRING)
|
|
private String lastName;
|
|
|
|
/**
|
|
* 名
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 49, name = "FirstName", desc = "名", type = Schema.TYPE_STRING)
|
|
private String firstName;
|
|
|
|
/**
|
|
* 英文姓
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 50, name = "LastNameEn", desc = "英文姓", type = Schema.TYPE_STRING)
|
|
private String lastNameEn;
|
|
|
|
/**
|
|
* 英文名
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 51, name = "FirstNameEn", desc = "英文名", type = Schema.TYPE_STRING)
|
|
private String firstNameEn;
|
|
|
|
/**
|
|
* 英文姓名
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 52, name = "NameEn", desc = "英文姓名", type = Schema.TYPE_STRING)
|
|
private String nameEn;
|
|
|
|
/**
|
|
* 拼音姓
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 53, name = "LastNamePY", desc = "拼音姓", type = Schema.TYPE_STRING)
|
|
private String lastNamePY;
|
|
|
|
/**
|
|
* 拼音名
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 54, name = "FirstNamePY", desc = "拼音名", type = Schema.TYPE_STRING)
|
|
private String firstNamePY;
|
|
|
|
/**
|
|
* 语言
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 55, name = "Language", desc = "语言", type = Schema.TYPE_STRING)
|
|
private String language;
|
|
|
|
/**
|
|
* 证件是否长期
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 56, name = "IDValFlag", desc = "证件是否长期", type = Schema.TYPE_STRING)
|
|
private String iDValFlag;
|
|
|
|
/**
|
|
* 证件有效起期
|
|
*/
|
|
@Column(index = 57, name = "IDInitiateDate", desc = "证件有效起期", type = Schema.TYPE_DATE)
|
|
private Date iDInitiateDate;
|
|
|
|
/**
|
|
* 家族病史
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 58, name = "FamilyDisease", desc = "家族病史", type = Schema.TYPE_STRING)
|
|
private String familyDisease;
|
|
|
|
/**
|
|
* 身体指标
|
|
*/
|
|
@Getter
|
|
@Column(index = 59, name = "BMI", desc = "身体指标", type = Schema.TYPE_DOUBLE)
|
|
private double bMI;
|
|
|
|
/**
|
|
* 工龄
|
|
*/
|
|
@Getter
|
|
@Column(index = 60, name = "Seniority", desc = "工龄", type = Schema.TYPE_INT)
|
|
private int seniority;
|
|
|
|
/**
|
|
* 工作单位
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 61, name = "WorkCompName", desc = "工作单位", type = Schema.TYPE_STRING)
|
|
private String workCompName;
|
|
|
|
/**
|
|
* 工作地
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 62, name = "WorkAddress", desc = "工作地", type = Schema.TYPE_STRING)
|
|
private String workAddress;
|
|
|
|
/**
|
|
* 社保地
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 63, name = "SocialInsuAddress", desc = "社保地", type = Schema.TYPE_STRING)
|
|
private String socialInsuAddress;
|
|
|
|
/**
|
|
* 管理机构
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 64, name = "ManageCom", desc = "管理机构", type = Schema.TYPE_STRING)
|
|
private String manageCom;
|
|
|
|
/**
|
|
* 公司代码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 65, name = "ComCode", desc = "公司代码", type = Schema.TYPE_STRING)
|
|
private String comCode;
|
|
|
|
/**
|
|
* 最后一次修改操作员
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 66, name = "ModifyOperator", desc = "最后一次修改操作员", type = Schema.TYPE_STRING)
|
|
private String modifyOperator;
|
|
|
|
/**
|
|
* 工作年限
|
|
*/
|
|
@Getter
|
|
@Column(index = 67, name = "WorkingAge", desc = "工作年限", type = Schema.TYPE_INT)
|
|
private int workingAge;
|
|
|
|
/**
|
|
* 服务年限
|
|
*/
|
|
@Getter
|
|
@Column(index = 68, name = "ServiceYears", desc = "服务年限", type = Schema.TYPE_INT)
|
|
private int serviceYears;
|
|
|
|
/**
|
|
* 风险等级来源
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 69, name = "RiskSource", desc = "风险等级来源", type = Schema.TYPE_STRING)
|
|
private String riskSource;
|
|
|
|
/**
|
|
* 维护风险等级
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 70, name = "HighRiskFlag", desc = "维护风险等级", type = Schema.TYPE_STRING)
|
|
private String highRiskFlag;
|
|
|
|
/**
|
|
* 团险职业类别
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 71, name = "GrpOccupationType", desc = "团险职业类别", type = Schema.TYPE_STRING)
|
|
private String grpOccupationType;
|
|
|
|
/**
|
|
* 团险职业代码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 72, name = "GrpOccupationCode", desc = "团险职业代码", type = Schema.TYPE_STRING)
|
|
private String grpOccupationCode;
|
|
|
|
/**
|
|
* 是否长期
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 73, name = "IsLongValid", desc = "是否长期", type = Schema.TYPE_STRING)
|
|
private String isLongValid;
|
|
|
|
/**
|
|
* 是否拥有公费医疗和社保医疗保险
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 74, name = "IsSocialInsuFlag", desc = "是否拥有公费医疗和社保医疗保险", type = Schema.TYPE_STRING)
|
|
private String isSocialInsuFlag;
|
|
|
|
/**
|
|
* 居民类型
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 75, name = "ResidentsType", desc = "居民类型", type = Schema.TYPE_STRING)
|
|
private String residentsType;
|
|
|
|
/**
|
|
* 是否有摩托车驾驶证
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 76, name = "Ismotorcyclelicense", desc = "是否有摩托车驾驶证", type = Schema.TYPE_STRING)
|
|
private String ismotorcyclelicense;
|
|
|
|
/**
|
|
* 员工号
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 77, name = "WorkIDNo", desc = "员工号", type = Schema.TYPE_STRING)
|
|
private String workIDNo;
|
|
|
|
/**
|
|
* 所在分公司
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 78, name = "ComponyName", desc = "所在分公司", type = Schema.TYPE_STRING)
|
|
private String componyName;
|
|
|
|
/**
|
|
* 所在部门
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 79, name = "DeptCode", desc = "所在部门", type = Schema.TYPE_STRING)
|
|
private String deptCode;
|
|
|
|
/**
|
|
* 家庭年收入
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 80, name = "HomeIncome", desc = "家庭年收入", type = Schema.TYPE_STRING)
|
|
private String homeIncome;
|
|
|
|
/**
|
|
* 居民来源
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 81, name = "CityOrCounty", desc = "居民来源", type = Schema.TYPE_STRING)
|
|
private String cityOrCounty;
|
|
|
|
/**
|
|
* 税收居民类型
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 82, name = "TaxrType", desc = "税收居民类型", type = Schema.TYPE_STRING)
|
|
private String taxrType;
|
|
|
|
/**
|
|
* 出生地
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 83, name = "BirthAddress", desc = "出生地", type = Schema.TYPE_STRING)
|
|
private String birthAddress;
|
|
|
|
/**
|
|
* 工作状态
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 84, name = "WorkState", desc = "工作状态", type = Schema.TYPE_STRING)
|
|
private String workState;
|
|
|
|
/**
|
|
* 是否验真通过
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 85, name = "IsVerify", desc = "是否验真通过", type = Schema.TYPE_STRING)
|
|
private String isVerify;
|
|
|
|
|
|
public static final int FIELDNUM = 86; // 数据库表的字段个数
|
|
|
|
private transient FDate fDate = new FDate(); // 处理日期
|
|
|
|
public transient CErrors mErrors; // 错误信息
|
|
|
|
// @Constructor
|
|
public LDPersonSchema() {
|
|
mErrors = new CErrors();
|
|
}
|
|
|
|
// @Method
|
|
public Object clone() throws CloneNotSupportedException {
|
|
LDPersonSchema cloned = (LDPersonSchema) 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 getBirthday() {
|
|
if (birthday != null)
|
|
return fDate.getString(birthday);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LDPersonSchema setBirthday(Date aBirthday) {
|
|
birthday = aBirthday;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setBirthday(String aBirthday) {
|
|
if (aBirthday != null && !aBirthday.equals("") && !aBirthday.equals("null")) {
|
|
birthday = fDate.getDate(aBirthday);
|
|
} else {
|
|
birthday = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public String getMarriageDate() {
|
|
if (marriageDate != null)
|
|
return fDate.getString(marriageDate);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LDPersonSchema setMarriageDate(Date aMarriageDate) {
|
|
marriageDate = aMarriageDate;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setMarriageDate(String aMarriageDate) {
|
|
if (aMarriageDate != null && !aMarriageDate.equals("") && !aMarriageDate.equals("null")) {
|
|
marriageDate = fDate.getDate(aMarriageDate);
|
|
} else {
|
|
marriageDate = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setStature(double aStature) {
|
|
stature = aStature;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setStature(String aStature) {
|
|
if (aStature != null && !aStature.equals("") && !aStature.equals("null")) {
|
|
stature = Double.parseDouble(aStature);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setAvoirdupois(double aAvoirdupois) {
|
|
avoirdupois = aAvoirdupois;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setAvoirdupois(String aAvoirdupois) {
|
|
if (aAvoirdupois != null && !aAvoirdupois.equals("") && !aAvoirdupois.equals("null")) {
|
|
avoirdupois = Double.parseDouble(aAvoirdupois);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public String getJoinCompanyDate() {
|
|
if (joinCompanyDate != null)
|
|
return fDate.getString(joinCompanyDate);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LDPersonSchema setJoinCompanyDate(Date aJoinCompanyDate) {
|
|
joinCompanyDate = aJoinCompanyDate;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setJoinCompanyDate(String aJoinCompanyDate) {
|
|
if (aJoinCompanyDate != null && !aJoinCompanyDate.equals("") && !aJoinCompanyDate.equals("null")) {
|
|
joinCompanyDate = fDate.getDate(aJoinCompanyDate);
|
|
} else {
|
|
joinCompanyDate = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public String getStartWorkDate() {
|
|
if (startWorkDate != null)
|
|
return fDate.getString(startWorkDate);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LDPersonSchema setStartWorkDate(Date aStartWorkDate) {
|
|
startWorkDate = aStartWorkDate;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setStartWorkDate(String aStartWorkDate) {
|
|
if (aStartWorkDate != null && !aStartWorkDate.equals("") && !aStartWorkDate.equals("null")) {
|
|
startWorkDate = fDate.getDate(aStartWorkDate);
|
|
} else {
|
|
startWorkDate = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setSalary(double aSalary) {
|
|
salary = aSalary;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setSalary(String aSalary) {
|
|
if (aSalary != null && !aSalary.equals("") && !aSalary.equals("null")) {
|
|
salary = Double.parseDouble(aSalary);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public String getDeathDate() {
|
|
if (deathDate != null)
|
|
return fDate.getString(deathDate);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LDPersonSchema setDeathDate(Date aDeathDate) {
|
|
deathDate = aDeathDate;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setDeathDate(String aDeathDate) {
|
|
if (aDeathDate != null && !aDeathDate.equals("") && !aDeathDate.equals("null")) {
|
|
deathDate = fDate.getDate(aDeathDate);
|
|
} else {
|
|
deathDate = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public String getMakeDate() {
|
|
if (makeDate != null)
|
|
return fDate.getString(makeDate);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LDPersonSchema setMakeDate(Date aMakeDate) {
|
|
makeDate = aMakeDate;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema 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 LDPersonSchema setModifyDate(Date aModifyDate) {
|
|
modifyDate = aModifyDate;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setModifyDate(String aModifyDate) {
|
|
if (aModifyDate != null && !aModifyDate.equals("") && !aModifyDate.equals("null")) {
|
|
modifyDate = fDate.getDate(aModifyDate);
|
|
} else {
|
|
modifyDate = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public String getIDExpDate() {
|
|
if (iDExpDate != null)
|
|
return fDate.getString(iDExpDate);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LDPersonSchema setIDExpDate(Date aIDExpDate) {
|
|
iDExpDate = aIDExpDate;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setIDExpDate(String aIDExpDate) {
|
|
if (aIDExpDate != null && !aIDExpDate.equals("") && !aIDExpDate.equals("null")) {
|
|
iDExpDate = fDate.getDate(aIDExpDate);
|
|
} else {
|
|
iDExpDate = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public String getIDInitiateDate() {
|
|
if (iDInitiateDate != null)
|
|
return fDate.getString(iDInitiateDate);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LDPersonSchema setIDInitiateDate(Date aIDInitiateDate) {
|
|
iDInitiateDate = aIDInitiateDate;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setIDInitiateDate(String aIDInitiateDate) {
|
|
if (aIDInitiateDate != null && !aIDInitiateDate.equals("") && !aIDInitiateDate.equals("null")) {
|
|
iDInitiateDate = fDate.getDate(aIDInitiateDate);
|
|
} else {
|
|
iDInitiateDate = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setBMI(double aBMI) {
|
|
bMI = aBMI;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setBMI(String aBMI) {
|
|
if (aBMI != null && !aBMI.equals("") && !aBMI.equals("null")) {
|
|
bMI = Double.parseDouble(aBMI);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setSeniority(int aSeniority) {
|
|
seniority = aSeniority;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setSeniority(String aSeniority) {
|
|
if (aSeniority != null && !aSeniority.equals("") && !aSeniority.equals("null")) {
|
|
seniority = Integer.parseInt(aSeniority);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setWorkingAge(int aWorkingAge) {
|
|
workingAge = aWorkingAge;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setWorkingAge(String aWorkingAge) {
|
|
if (aWorkingAge != null && !aWorkingAge.equals("") && !aWorkingAge.equals("null")) {
|
|
workingAge = Integer.parseInt(aWorkingAge);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setServiceYears(int aServiceYears) {
|
|
serviceYears = aServiceYears;
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema setServiceYears(String aServiceYears) {
|
|
if (aServiceYears != null && !aServiceYears.equals("") && !aServiceYears.equals("null")) {
|
|
serviceYears = Integer.parseInt(aServiceYears);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
|
|
public LDPersonSchema setSchema(LDPersonSchema aLDPersonSchema) {
|
|
SchemaHelper.setSchema(aLDPersonSchema, this);
|
|
return this;
|
|
}
|
|
|
|
public LDPersonSchema getSchema() {
|
|
LDPersonSchema aLDPersonSchema = new LDPersonSchema();
|
|
aLDPersonSchema.setSchema(this);
|
|
return aLDPersonSchema;
|
|
}
|
|
|
|
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);
|
|
}
|
|
}
|
|
|