/** * 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: LJRiskMatchFeeDetailSchema

*

Description: DB层 Schema 类文件

*

Company: Sinosoft Co.,LTD

* * @author Makerx2 * @Database PhysicalDataModel_1 * @CreateDatetime 2025-12-24 16:09:48 213 */ @Table(name = "LJRiskMatchFeeDetail", desc = "LJRiskMatchFeeDetail") @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) public class LJRiskMatchFeeDetailSchema extends Entity implements Schema, Cloneable { // @Field @Getter @Setter @Id @Column(index = 0, name = "RMSerialNo", desc = "RMSerialNo", type = Schema.TYPE_STRING) private String rMSerialNo; @Getter @Setter @Column(index = 1, name = "PayGetNoticeNo", desc = "PayGetNoticeNo", type = Schema.TYPE_STRING) private String payGetNoticeNo; @Getter @Setter @Column(index = 2, name = "PayOtherNo", desc = "PayOtherNo", type = Schema.TYPE_STRING) private String payOtherNo; @Getter @Setter @Column(index = 3, name = "PayOtherNoType", desc = "PayOtherNoType", type = Schema.TYPE_STRING) private String payOtherNoType; @Getter @Setter @Column(index = 4, name = "PayRiskCode", desc = "PayRiskCode", type = Schema.TYPE_STRING) private String payRiskCode; /** * 收费金额 */ @Getter @Column(index = 5, name = "PayMoney", desc = "收费金额", type = Schema.TYPE_DOUBLE) private double payMoney; /** * 收费已匹配金额 */ @Getter @Column(index = 6, name = "PayMatcheMoney", desc = "收费已匹配金额", type = Schema.TYPE_DOUBLE) private double payMatcheMoney; /** * 收费未匹配金额 */ @Getter @Column(index = 7, name = "PayNoMatcheMoney", desc = "收费未匹配金额", type = Schema.TYPE_DOUBLE) private double payNoMatcheMoney; @Getter @Setter @Column(index = 8, name = "TempFeeChargeId", desc = "TempFeeChargeId", type = Schema.TYPE_STRING) private String tempFeeChargeId; @Getter @Setter @Column(index = 9, name = "TempFeeChargeNumber", desc = "TempFeeChargeNumber", type = Schema.TYPE_STRING) private String tempFeeChargeNumber; /** * 付费金额 */ @Getter @Column(index = 10, name = "GetMoney", desc = "付费金额", type = Schema.TYPE_DOUBLE) private double getMoney; /** * 付费已匹配金额 */ @Getter @Column(index = 11, name = "GetMatcheMoney", desc = "付费已匹配金额", type = Schema.TYPE_DOUBLE) private double getMatcheMoney; /** * 付费未匹配金额 */ @Getter @Column(index = 12, name = "GetNoMatchMoney", desc = "付费未匹配金额", type = Schema.TYPE_DOUBLE) private double getNoMatchMoney; @Getter @Setter @Column(index = 13, name = "MatchSerialNo", desc = "MatchSerialNo", type = Schema.TYPE_STRING) private String matchSerialNo; /** * 入机日期 */ @Column(index = 14, name = "MakeDate", desc = "入机日期", type = Schema.TYPE_DATE) private Date makeDate; @Getter @Setter @Column(index = 15, name = "MakeTime", desc = "MakeTime", type = Schema.TYPE_STRING) private String makeTime; @Getter @Setter @Column(index = 16, name = "Operator", desc = "Operator", type = Schema.TYPE_STRING) private String operator; /** * 最后一次修改日期 */ @Column(index = 17, name = "ModifyDate", desc = "最后一次修改日期", type = Schema.TYPE_DATE) private Date modifyDate; @Getter @Setter @Column(index = 18, name = "ModifyTime", desc = "ModifyTime", type = Schema.TYPE_STRING) private String modifyTime; @Getter @Setter @Column(index = 19, name = "isInformation", desc = "isInformation", type = Schema.TYPE_STRING) private String isInformation; public static final int FIELDNUM = 20; // 数据库表的字段个数 private transient FDate fDate = new FDate(); // 处理日期 public transient CErrors mErrors; // 错误信息 // @Constructor public LJRiskMatchFeeDetailSchema() { mErrors = new CErrors(); } // @Method @Override public Object clone() throws CloneNotSupportedException { LJRiskMatchFeeDetailSchema cloned = (LJRiskMatchFeeDetailSchema) super.clone(); cloned.fDate = (FDate) fDate.clone(); cloned.mErrors = (CErrors) mErrors.clone(); SchemaHelper.cloneDate(cloned, this, this.getClass()); return cloned; } @Override public String[] getPK() { return SchemaHelper.getPK(this.getClass()); } public LJRiskMatchFeeDetailSchema setPayMoney(double aPayMoney) { payMoney = aPayMoney; return this; } public LJRiskMatchFeeDetailSchema setPayMoney(String aPayMoney) { if (aPayMoney != null && !aPayMoney.equals("") && !aPayMoney.equals("null")) { payMoney = Double.parseDouble(aPayMoney); } return this; } public LJRiskMatchFeeDetailSchema setPayMatcheMoney(double aPayMatcheMoney) { payMatcheMoney = aPayMatcheMoney; return this; } public LJRiskMatchFeeDetailSchema setPayMatcheMoney(String aPayMatcheMoney) { if (aPayMatcheMoney != null && !aPayMatcheMoney.equals("") && !aPayMatcheMoney.equals("null")) { payMatcheMoney = Double.parseDouble(aPayMatcheMoney); } return this; } public LJRiskMatchFeeDetailSchema setPayNoMatcheMoney(double aPayNoMatcheMoney) { payNoMatcheMoney = aPayNoMatcheMoney; return this; } public LJRiskMatchFeeDetailSchema setPayNoMatcheMoney(String aPayNoMatcheMoney) { if (aPayNoMatcheMoney != null && !aPayNoMatcheMoney.equals("") && !aPayNoMatcheMoney.equals("null")) { payNoMatcheMoney = Double.parseDouble(aPayNoMatcheMoney); } return this; } public LJRiskMatchFeeDetailSchema setGetMoney(double aGetMoney) { getMoney = aGetMoney; return this; } public LJRiskMatchFeeDetailSchema setGetMoney(String aGetMoney) { if (aGetMoney != null && !aGetMoney.equals("") && !aGetMoney.equals("null")) { getMoney = Double.parseDouble(aGetMoney); } return this; } public LJRiskMatchFeeDetailSchema setGetMatcheMoney(double aGetMatcheMoney) { getMatcheMoney = aGetMatcheMoney; return this; } public LJRiskMatchFeeDetailSchema setGetMatcheMoney(String aGetMatcheMoney) { if (aGetMatcheMoney != null && !aGetMatcheMoney.equals("") && !aGetMatcheMoney.equals("null")) { getMatcheMoney = Double.parseDouble(aGetMatcheMoney); } return this; } public LJRiskMatchFeeDetailSchema setGetNoMatchMoney(double aGetNoMatchMoney) { getNoMatchMoney = aGetNoMatchMoney; return this; } public LJRiskMatchFeeDetailSchema setGetNoMatchMoney(String aGetNoMatchMoney) { if (aGetNoMatchMoney != null && !aGetNoMatchMoney.equals("") && !aGetNoMatchMoney.equals("null")) { getNoMatchMoney = Double.parseDouble(aGetNoMatchMoney); } return this; } public String getMakeDate() { if (makeDate != null) return fDate.getString(makeDate); else return null; } public LJRiskMatchFeeDetailSchema setMakeDate(Date aMakeDate) { makeDate = aMakeDate; return this; } public LJRiskMatchFeeDetailSchema 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 LJRiskMatchFeeDetailSchema setModifyDate(Date aModifyDate) { modifyDate = aModifyDate; return this; } public LJRiskMatchFeeDetailSchema setModifyDate(String aModifyDate) { if (aModifyDate != null && !aModifyDate.equals("") && !aModifyDate.equals("null")) { modifyDate = fDate.getDate(aModifyDate); } else { modifyDate = null; } return this; } @Override public LJRiskMatchFeeDetailSchema setSchema(LJRiskMatchFeeDetailSchema aLJRiskMatchFeeDetailSchema) { SchemaHelper.setSchema(aLJRiskMatchFeeDetailSchema, this); return this; } @Override public LJRiskMatchFeeDetailSchema getSchema() { LJRiskMatchFeeDetailSchema aLJRiskMatchFeeDetailSchema = new LJRiskMatchFeeDetailSchema(); aLJRiskMatchFeeDetailSchema.setSchema(this); return aLJRiskMatchFeeDetailSchema; } @Override public String encode() { return SchemaHelper.encode(this); } @Override public boolean decode(String strMessage) { return SchemaHelper.decode(this, strMessage); } @Override public String getV(String FCode) { return SchemaHelper.getV(this, FCode); } @Override public String getV(int nFieldIndex) { return SchemaHelper.getV(this, nFieldIndex); } @Override public boolean setV(String FCode, String FValue) { return SchemaHelper.setV(this, FCode, FValue); } @Override public int getFieldCount() { return FIELDNUM; } @Override public int getFieldIndex(String strFieldName) { return SchemaHelper.getFieldIndex(this.getClass(), strFieldName); } @Override public String getFieldName(int nFieldIndex) { return SchemaHelper.getFieldName(this.getClass(), nFieldIndex); } @Override public int getFieldType(String strFieldName) { return SchemaHelper.getFieldType(this.getClass(), strFieldName); } @Override public int getFieldType(int nFieldIndex) { return SchemaHelper.getFieldType(this.getClass(), nFieldIndex); } }