SysOrg.java 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. package com.ctsi.SysOrg.entity;
  2. import com.ctsi.utils.LongtoStringSerialize;
  3. import com.fasterxml.jackson.databind.annotation.JsonSerialize;
  4. import io.swagger.annotations.ApiModel;
  5. import io.swagger.annotations.ApiModelProperty;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import com.baomidou.mybatisplus.annotation.TableId;
  8. import java.io.Serializable;
  9. import java.util.Date;
  10. /**
  11. * 部门信息表;
  12. * @author : machaoyi
  13. * @date : 2024-1-10
  14. */
  15. @ApiModel(value = "部门信息表",description = "")
  16. @TableName("sys_org")
  17. public class SysOrg implements Serializable,Cloneable{
  18. /** 主键id */
  19. @ApiModelProperty(value = "主键id",notes = "")
  20. @TableId
  21. @JsonSerialize(using = LongtoStringSerialize.class)
  22. private Long id ;
  23. /** 创建人userid */
  24. @ApiModelProperty(value = "创建人userid",notes = "")
  25. private Long createdBy ;
  26. /** 创建时间 */
  27. @ApiModelProperty(value = "创建时间",notes = "")
  28. private Date createdTime ;
  29. /** 逻辑删除 */
  30. @ApiModelProperty(value = "逻辑删除",notes = "")
  31. private Integer delFlag ;
  32. /** 部门名称 */
  33. @ApiModelProperty(value = "部门名称",notes = "")
  34. private String orgName ;
  35. /** 描述 */
  36. @ApiModelProperty(value = "描述",notes = "")
  37. private String description ;
  38. /** 父级 */
  39. @ApiModelProperty(value = "父级",notes = "")
  40. private Long parentId ;
  41. /** 排序 */
  42. @ApiModelProperty(value = "排序",notes = "")
  43. private Integer orderBy ;
  44. /** 部门负责人 */
  45. @ApiModelProperty(value = "部门负责人",notes = "")
  46. private String orgLeader ;
  47. /** 联系方式 */
  48. @ApiModelProperty(value = "联系方式",notes = "")
  49. private String orgLeaderPhone ;
  50. /** 主键id */
  51. public Long getId(){
  52. return this.id;
  53. }
  54. /** 主键id */
  55. public void setId(Long id){
  56. this.id=id;
  57. }
  58. /** 创建人userid */
  59. public Long getCreatedBy(){
  60. return this.createdBy;
  61. }
  62. /** 创建人userid */
  63. public void setCreatedBy(Long createdBy){
  64. this.createdBy=createdBy;
  65. }
  66. /** 创建时间 */
  67. public Date getCreatedTime(){
  68. return this.createdTime;
  69. }
  70. /** 创建时间 */
  71. public void setCreatedTime(Date createdTime){
  72. this.createdTime=createdTime;
  73. }
  74. /** 逻辑删除 */
  75. public Integer getDelFlag(){
  76. return this.delFlag;
  77. }
  78. /** 逻辑删除 */
  79. public void setDelFlag(Integer delFlag){
  80. this.delFlag=delFlag;
  81. }
  82. /** 部门名称 */
  83. public String getOrgName(){
  84. return this.orgName;
  85. }
  86. /** 部门名称 */
  87. public void setOrgName(String orgName){
  88. this.orgName=orgName;
  89. }
  90. /** 描述 */
  91. public String getDescription(){
  92. return this.description;
  93. }
  94. /** 描述 */
  95. public void setDescription(String description){
  96. this.description=description;
  97. }
  98. /** 父级 */
  99. public Long getParentId(){
  100. return this.parentId;
  101. }
  102. /** 父级 */
  103. public void setParentId(Long parentId){
  104. this.parentId=parentId;
  105. }
  106. /** 排序 */
  107. public Integer getOrderBy(){
  108. return this.orderBy;
  109. }
  110. /** 排序 */
  111. public void setOrderBy(Integer orderBy){
  112. this.orderBy=orderBy;
  113. }
  114. /** 部门负责人 */
  115. public String getOrgLeader(){
  116. return this.orgLeader;
  117. }
  118. /** 部门负责人 */
  119. public void setOrgLeader(String orgLeader){
  120. this.orgLeader=orgLeader;
  121. }
  122. /** 联系方式 */
  123. public String getOrgLeaderPhone(){
  124. return this.orgLeaderPhone;
  125. }
  126. /** 联系方式 */
  127. public void setOrgLeaderPhone(String orgLeaderPhone){
  128. this.orgLeaderPhone=orgLeaderPhone;
  129. }
  130. }