package base.po; import java.util.Map; import ss.db.DbC; import ss.db.Po; public class LffzrPo extends Po { @Override public long rdIdVal() { return this.lffzrid; } @Override public void wrIdVal(long id) { this.lffzrid = id; } public LffzrPo() { // super.objName = "dw"; super.tabName = "lffzr"; // "DW"。改为全小写。Lin super.idName = "lffzrid"; // super.dbIdName = "DWID"; // 再去掉,共用 .idName -- .idName 本来指的就是 .dbIdName。Lin } // ===== field private long lffzrid; private int jlztm = 1; private int lflbm; private Long jfbmid; private long fzryid; private Long cjryid; private Long glryid; private Long glbmid; { super.fieldTypeMap = Map.ofEntries( Map.entry("lffzrid", DbC.PO_longType), // "long"。Lin Map.entry("jlztm", DbC.PO_intType), Map.entry("lflbm", DbC.PO_intType), // "int"。Lin Map.entry("jfbmid", DbC.PO_LongType), Map.entry("fzryid", DbC.PO_longType), // "long"。Lin Map.entry("cjryid", DbC.PO_LongType), Map.entry("glryid", DbC.PO_LongType), Map.entry("glbmid", DbC.PO_LongType)); /* super.fieldTypeMap = new HashMap<>(); super.fieldTypeMap.put("lffzrid", DbC.PO_longType); // "long"。Lin super.fieldTypeMap.put("jlztm", DbC.PO_intType); super.fieldTypeMap.put("lflbm", DbC.PO_intType); // "int"。Lin super.fieldTypeMap.put("fzryid", DbC.PO_longType); // "long"。Lin super.fieldTypeMap.put("cjryid", DbC.PO_LongType); super.fieldTypeMap.put("glryid", DbC.PO_LongType); super.fieldTypeMap.put("glbmid", DbC.PO_LongType); */ } // ===== get/set public long getLffzrid() { return this.lffzrid; } public void setLffzrid(long id) { this.lffzrid = id; } public int getJlztm() { return this.jlztm; } public void setJlztm(int m) { this.jlztm = m; } public int getLflbm() { return this.lflbm; } public void setLflbm(int m) { this.lflbm = m; } public Long getJfbmid() { return this.jfbmid; } public void setJfbmid(Long id) { this.jfbmid = id; } public long getFzryid() { return this.fzryid; } public void setFzryid(long id) { this.fzryid = id; } public Long getCjryid() { return this.cjryid; } public void setCjryid(Long id) { this.cjryid = id; } public Long getGlryid() { return this.glryid; } public void setGlryid(Long id) { this.glryid = id; } public Long getGlbmid() { return this.glbmid; } public void setGlbmid(Long id) { this.glbmid = id; } }