TSProject.java 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. package com.xcgl.cloud.entity;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4. import javax.persistence.CascadeType;
  5. import javax.persistence.Column;
  6. import javax.persistence.Entity;
  7. import javax.persistence.FetchType;
  8. import javax.persistence.JoinColumn;
  9. import javax.persistence.ManyToOne;
  10. import javax.persistence.OneToMany;
  11. import javax.persistence.Table;
  12. import org.codehaus.jackson.annotate.JsonIgnore;
  13. import org.jeecgframework.core.common.entity.IdEntity;
  14. import org.jeecgframework.poi.excel.annotation.Excel;
  15. /**
  16. * 部门机构表
  17. * @author 董广群
  18. */
  19. @Entity
  20. @Table(name = "t_s_depart")
  21. public class TSProject extends IdEntity implements java.io.Serializable {
  22. /**
  23. *
  24. */
  25. private static final long serialVersionUID = 4330286135371199363L;
  26. private String dingdepartid;//钉钉部门ID
  27. private String dingIsSynchronization;//是否钉钉同步成功
  28. @Excel(name = "部门名称" ,width = 20)
  29. private String departname;//部门名称
  30. @Excel(name = "部门描述",width = 20)
  31. private String description;//部门描述
  32. @Excel(name = "系统生产编码",width = 20)
  33. private String orgCode;//系统生产编码
  34. @Excel(name = "机构编码",width = 20)
  35. private String deptCode;//机构编码
  36. @Excel(name = "机构类型",width = 25)
  37. private String orgType;//机构类型:1公司,2组织机构,3区域项目,4区域,5直属项目
  38. @Excel(name = "电话",width = 20)
  39. private String mobile;//电话
  40. @Excel(name = "传真",width = 20)
  41. private String fax;//传真
  42. @Excel(name = "地址",width = 20)
  43. private String address;//地址
  44. private String departOrder;//排序
  45. private String status;//状态:0启用(项目未结束),1停用(项目结束)
  46. private String supervisorId;//直属项目负责人ID
  47. private String deptProjManagerid;//部门/项目经理ID
  48. private String parentdepartid;
  49. public String getDingdepartid() {
  50. return this.dingdepartid;
  51. }
  52. public void setDingdepartid(String dingdepartid) {
  53. this.dingdepartid = dingdepartid;
  54. }
  55. public String getDingIsSynchronization() {
  56. return dingIsSynchronization;
  57. }
  58. public void setDingIsSynchronization(String dingIsSynchronization) {
  59. this.dingIsSynchronization = dingIsSynchronization;
  60. }
  61. @Column(name = "departname", nullable = false, length = 100)
  62. public String getDepartname() {
  63. return this.departname;
  64. }
  65. public void setDepartname(String departname) {
  66. this.departname = departname;
  67. }
  68. @Column(name = "description", length = 500)
  69. public String getDescription() {
  70. return this.description;
  71. }
  72. public void setDescription(String description) {
  73. this.description = description;
  74. }
  75. @Column(name = "org_code", length = 64)
  76. public String getOrgCode() {
  77. return orgCode;
  78. }
  79. public void setOrgCode(String orgCode) {
  80. this.orgCode = orgCode;
  81. }
  82. @Column(name = "dept_code", length = 64)
  83. public String getDeptCode() {
  84. return deptCode;
  85. }
  86. public void setDeptCode(String deptCode) {
  87. this.deptCode = deptCode;
  88. }
  89. @Column(name = "org_type", length = 1)
  90. public String getOrgType() {
  91. return orgType;
  92. }
  93. public void setOrgType(String orgType) {
  94. this.orgType = orgType;
  95. }
  96. @Column(name = "mobile", length = 32)
  97. public String getMobile() {
  98. return mobile;
  99. }
  100. public void setMobile(String mobile) {
  101. this.mobile = mobile;
  102. }
  103. @Column(name = "fax", length = 32)
  104. public String getFax() {
  105. return fax;
  106. }
  107. public void setFax(String fax) {
  108. this.fax = fax;
  109. }
  110. @Column(name = "address", length = 100)
  111. public String getAddress() {
  112. return address;
  113. }
  114. public void setAddress(String address) {
  115. this.address = address;
  116. }
  117. @Column(name="depart_order")
  118. public String getDepartOrder() {
  119. return departOrder;
  120. }
  121. public void setDepartOrder(String departOrder) {
  122. this.departOrder = departOrder;
  123. }
  124. @Column(name ="STATUS",nullable=false,length=1)
  125. public String getStatus(){
  126. return this.status;
  127. }
  128. public void setStatus(String status){
  129. this.status = status;
  130. }
  131. @Column(name ="SUPERVISOR_ID",nullable=true,length=36)
  132. public String getSupervisorId() {
  133. return supervisorId;
  134. }
  135. public void setSupervisorId(String supervisorId) {
  136. this.supervisorId = supervisorId;
  137. }
  138. @Column(name ="dept_proj_managerid",nullable=true,length=36)
  139. public String getDeptProjManagerid() {
  140. return deptProjManagerid;
  141. }
  142. public void setDeptProjManagerid(String deptProjManagerid) {
  143. this.deptProjManagerid = deptProjManagerid;
  144. }
  145. public String getParentdepartid() {
  146. return parentdepartid;
  147. }
  148. public void setParentdepartid(String parentdepartid) {
  149. this.parentdepartid = parentdepartid;
  150. }
  151. }