92251e1c09da537390cf1a1d01baf58af0f6c0ea.svn-base 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. package com.persistence.DBdll.adapter.assitant;
  2. public class TableInfo{
  3. /** 表classId */
  4. private int classId;
  5. /** 表英文名. */
  6. private String tableName;
  7. /** 数据表类型 */
  8. private String type;
  9. /** 主键字段,可以是多个字段组合 */
  10. private String primaryKey;
  11. private String catche;
  12. /** 数据库中是否存在 */
  13. private String exist;
  14. /** 数据库链接Id */
  15. private String dataSource;
  16. /** 是否校验 */
  17. private String validate;
  18. private String Descritpion;
  19. public int getClassId() {
  20. return classId;
  21. }
  22. public void setClassId(int classId) {
  23. this.classId = classId;
  24. }
  25. /**
  26. * 表名称 return
  27. **/
  28. public String getTableName() {
  29. return tableName;
  30. }
  31. public void setTableName(String tableName) {
  32. this.tableName = tableName;
  33. }
  34. /**
  35. * 表在系统中类型 return
  36. **/
  37. public String getType() {
  38. return type;
  39. }
  40. public void setType(String type) {
  41. this.type = type;
  42. }
  43. /**
  44. * 主键组合,可以多个字段组合决定一条数据 return
  45. **/
  46. public String getPrimaryKey() {
  47. return primaryKey == null ? "" : primaryKey;
  48. }
  49. public void setPrimaryKey(String primaryKey) {
  50. this.primaryKey = primaryKey;
  51. }
  52. public String getCatche() {
  53. return catche;
  54. }
  55. public void setCatche(String catche) {
  56. this.catche = catche;
  57. }
  58. /**
  59. * 表在数据库中是否存在 return
  60. **/
  61. public String getExist() {
  62. return exist;
  63. }
  64. public void setExist(String exist) {
  65. this.exist = exist;
  66. }
  67. /**
  68. * 使用数据源链接编码 return
  69. **/
  70. public String getDataSource() {
  71. return dataSource;
  72. }
  73. public void setDataSource(String dataSource) {
  74. this.dataSource = dataSource;
  75. }
  76. /**
  77. * 是否校验 return
  78. **/
  79. public String getValidate() {
  80. return validate;
  81. }
  82. public void setValidate(String validate) {
  83. this.validate = validate;
  84. }
  85. public String getDescritpion() {
  86. return Descritpion == null ? "" : Descritpion;
  87. }
  88. public void setDescritpion(String descritpion) {
  89. Descritpion = descritpion;
  90. }
  91. }