| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- 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;
- }
- }
|