123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- package com.boman.gen.domain;
- import com.boman.common.core.web.domain.BaseEntity;
- /**
- * @author tjf
- * @Date: 2021/03/25/16:04
- */
- public class GenTableRelation extends BaseEntity {
- private static final long serialVersionUID = 1L;
- /**
- * 主键
- */
- private Long id;
- /**
- * 描述(tap页显示的名称)
- */
- private String description;
- /**
- * 关联表(gen_table的id)
- */
- private Long relationParentId;
- /**
- * 字段(关联主表PK gen_table_column的id)
- */
- private Long relationChildId;
- /**
- *关联方式(1:1 1:N 取值字典表)
- */
- private Long relationType;
- /**
- * 排序
- */
- private Long sort;
- /**
- * 是否删除(Y是)
- */
- private String isDel;
- public Long getSort() {
- return sort;
- }
- public void setSort(Long sort) {
- this.sort = sort;
- }
- public Long getId() {
- return id;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public String getDescription() {
- return description;
- }
- public void setDescription(String description) {
- this.description = description;
- }
- public Long getRelationParentId() {
- return relationParentId;
- }
- public void setRelationParentId(Long relationParentId) {
- this.relationParentId = relationParentId;
- }
- public Long getRelationChildId() {
- return relationChildId;
- }
- public void setRelationChildId(Long relationChildId) {
- this.relationChildId = relationChildId;
- }
- public Long getRelationType() {
- return relationType;
- }
- public void setRelationType(Long relationType) {
- this.relationType = relationType;
- }
- public String getIsDel() {
- return isDel;
- }
- public void setIsDel(String isDel) {
- this.isDel = isDel;
- }
- @Override
- public String toString() {
- return "GenTableRelation{" +
- "id=" + id +
- ", description='" + description + '\'' +
- ", relationParentId=" + relationParentId +
- ", relationChildId=" + relationChildId +
- ", relationType=" + relationType +
- ", sort=" + sort +
- ", isDel='" + isDel + '\'' +
- '}';
- }
- }
|