GenTableRelation.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. package com.boman.gen.domain;
  2. import com.boman.common.core.web.domain.BaseEntity;
  3. /**
  4. * @author tjf
  5. * @Date: 2021/03/25/16:04
  6. */
  7. public class GenTableRelation extends BaseEntity {
  8. private static final long serialVersionUID = 1L;
  9. /**
  10. * 主键
  11. */
  12. private Long id;
  13. /**
  14. * 描述(tap页显示的名称)
  15. */
  16. private String description;
  17. /**
  18. * 关联表(gen_table的id)
  19. */
  20. private Long relationParentId;
  21. /**
  22. * 字段(关联主表PK gen_table_column的id)
  23. */
  24. private Long relationChildId;
  25. /**
  26. *关联方式(1:1 1:N 取值字典表)
  27. */
  28. private Long relationType;
  29. /**
  30. * 排序
  31. */
  32. private Long sort;
  33. /**
  34. * 是否删除(Y是)
  35. */
  36. private String isDel;
  37. public Long getSort() {
  38. return sort;
  39. }
  40. public void setSort(Long sort) {
  41. this.sort = sort;
  42. }
  43. public Long getId() {
  44. return id;
  45. }
  46. public void setId(Long id) {
  47. this.id = id;
  48. }
  49. public String getDescription() {
  50. return description;
  51. }
  52. public void setDescription(String description) {
  53. this.description = description;
  54. }
  55. public Long getRelationParentId() {
  56. return relationParentId;
  57. }
  58. public void setRelationParentId(Long relationParentId) {
  59. this.relationParentId = relationParentId;
  60. }
  61. public Long getRelationChildId() {
  62. return relationChildId;
  63. }
  64. public void setRelationChildId(Long relationChildId) {
  65. this.relationChildId = relationChildId;
  66. }
  67. public Long getRelationType() {
  68. return relationType;
  69. }
  70. public void setRelationType(Long relationType) {
  71. this.relationType = relationType;
  72. }
  73. public String getIsDel() {
  74. return isDel;
  75. }
  76. public void setIsDel(String isDel) {
  77. this.isDel = isDel;
  78. }
  79. @Override
  80. public String toString() {
  81. return "GenTableRelation{" +
  82. "id=" + id +
  83. ", description='" + description + '\'' +
  84. ", relationParentId=" + relationParentId +
  85. ", relationChildId=" + relationChildId +
  86. ", relationType=" + relationType +
  87. ", sort=" + sort +
  88. ", isDel='" + isDel + '\'' +
  89. '}';
  90. }
  91. }