LffzrPo.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. package base.po;
  2. import java.util.Map;
  3. import ss.db.DbC;
  4. import ss.db.Po;
  5. public class LffzrPo extends Po {
  6. @Override
  7. public long rdIdVal() {
  8. return this.lffzrid;
  9. }
  10. @Override
  11. public void wrIdVal(long id) {
  12. this.lffzrid = id;
  13. }
  14. public LffzrPo() {
  15. // super.objName = "dw";
  16. super.tabName = "lffzr"; // "DW"。改为全小写。Lin
  17. super.idName = "lffzrid";
  18. // super.dbIdName = "DWID"; // 再去掉,共用 .idName -- .idName 本来指的就是 .dbIdName。Lin
  19. }
  20. // ===== field
  21. private long lffzrid;
  22. private int jlztm = 1;
  23. private int lflbm;
  24. private Long jfbmid;
  25. private long fzryid;
  26. private Long cjryid;
  27. private Long glryid;
  28. private Long glbmid;
  29. {
  30. super.fieldTypeMap = Map.ofEntries(
  31. Map.entry("lffzrid", DbC.PO_longType), // "long"。Lin
  32. Map.entry("jlztm", DbC.PO_intType),
  33. Map.entry("lflbm", DbC.PO_intType), // "int"。Lin
  34. Map.entry("jfbmid", DbC.PO_LongType),
  35. Map.entry("fzryid", DbC.PO_longType), // "long"。Lin
  36. Map.entry("cjryid", DbC.PO_LongType),
  37. Map.entry("glryid", DbC.PO_LongType),
  38. Map.entry("glbmid", DbC.PO_LongType));
  39. /*
  40. super.fieldTypeMap = new HashMap<>();
  41. super.fieldTypeMap.put("lffzrid", DbC.PO_longType); // "long"。Lin
  42. super.fieldTypeMap.put("jlztm", DbC.PO_intType);
  43. super.fieldTypeMap.put("lflbm", DbC.PO_intType); // "int"。Lin
  44. super.fieldTypeMap.put("fzryid", DbC.PO_longType); // "long"。Lin
  45. super.fieldTypeMap.put("cjryid", DbC.PO_LongType);
  46. super.fieldTypeMap.put("glryid", DbC.PO_LongType);
  47. super.fieldTypeMap.put("glbmid", DbC.PO_LongType);
  48. */
  49. }
  50. // ===== get/set
  51. public long getLffzrid() {
  52. return this.lffzrid;
  53. }
  54. public void setLffzrid(long id) {
  55. this.lffzrid = id;
  56. }
  57. public int getJlztm() {
  58. return this.jlztm;
  59. }
  60. public void setJlztm(int m) {
  61. this.jlztm = m;
  62. }
  63. public int getLflbm() {
  64. return this.lflbm;
  65. }
  66. public void setLflbm(int m) {
  67. this.lflbm = m;
  68. }
  69. public Long getJfbmid() {
  70. return this.jfbmid;
  71. }
  72. public void setJfbmid(Long id) {
  73. this.jfbmid = id;
  74. }
  75. public long getFzryid() {
  76. return this.fzryid;
  77. }
  78. public void setFzryid(long id) {
  79. this.fzryid = id;
  80. }
  81. public Long getCjryid() {
  82. return this.cjryid;
  83. }
  84. public void setCjryid(Long id) {
  85. this.cjryid = id;
  86. }
  87. public Long getGlryid() {
  88. return this.glryid;
  89. }
  90. public void setGlryid(Long id) {
  91. this.glryid = id;
  92. }
  93. public Long getGlbmid() {
  94. return this.glbmid;
  95. }
  96. public void setGlbmid(Long id) {
  97. this.glbmid = id;
  98. }
  99. }