| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- package com.xcgl.cloud.entity;
- import java.util.ArrayList;
- import java.util.List;
- import javax.persistence.CascadeType;
- import javax.persistence.Column;
- import javax.persistence.Entity;
- import javax.persistence.FetchType;
- import javax.persistence.JoinColumn;
- import javax.persistence.ManyToOne;
- import javax.persistence.OneToMany;
- import javax.persistence.Table;
- import org.codehaus.jackson.annotate.JsonIgnore;
- import org.jeecgframework.core.common.entity.IdEntity;
- import org.jeecgframework.poi.excel.annotation.Excel;
- /**
- * 部门机构表
- * @author 董广群
- */
- @Entity
- @Table(name = "t_s_depart")
- public class TSProject extends IdEntity implements java.io.Serializable {
-
- /**
- *
- */
- private static final long serialVersionUID = 4330286135371199363L;
-
- private String dingdepartid;//钉钉部门ID
-
- private String dingIsSynchronization;//是否钉钉同步成功
-
- @Excel(name = "部门名称" ,width = 20)
- private String departname;//部门名称
-
- @Excel(name = "部门描述",width = 20)
- private String description;//部门描述
-
- @Excel(name = "系统生产编码",width = 20)
- private String orgCode;//系统生产编码
-
- @Excel(name = "机构编码",width = 20)
- private String deptCode;//机构编码
-
- @Excel(name = "机构类型",width = 25)
- private String orgType;//机构类型:1公司,2组织机构,3区域项目,4区域,5直属项目
-
- @Excel(name = "电话",width = 20)
- private String mobile;//电话
-
- @Excel(name = "传真",width = 20)
- private String fax;//传真
-
- @Excel(name = "地址",width = 20)
- private String address;//地址
-
- private String departOrder;//排序
-
- private String status;//状态:0启用(项目未结束),1停用(项目结束)
-
- private String supervisorId;//直属项目负责人ID
-
- private String deptProjManagerid;//部门/项目经理ID
-
- private String parentdepartid;
-
- public String getDingdepartid() {
- return this.dingdepartid;
- }
- public void setDingdepartid(String dingdepartid) {
- this.dingdepartid = dingdepartid;
- }
- public String getDingIsSynchronization() {
- return dingIsSynchronization;
- }
- public void setDingIsSynchronization(String dingIsSynchronization) {
- this.dingIsSynchronization = dingIsSynchronization;
- }
- @Column(name = "departname", nullable = false, length = 100)
- public String getDepartname() {
- return this.departname;
- }
- public void setDepartname(String departname) {
- this.departname = departname;
- }
- @Column(name = "description", length = 500)
- public String getDescription() {
- return this.description;
- }
- public void setDescription(String description) {
- this.description = description;
- }
-
-
- @Column(name = "org_code", length = 64)
- public String getOrgCode() {
- return orgCode;
- }
- public void setOrgCode(String orgCode) {
- this.orgCode = orgCode;
- }
-
- @Column(name = "dept_code", length = 64)
- public String getDeptCode() {
- return deptCode;
- }
- public void setDeptCode(String deptCode) {
- this.deptCode = deptCode;
- }
- @Column(name = "org_type", length = 1)
- public String getOrgType() {
- return orgType;
- }
- public void setOrgType(String orgType) {
- this.orgType = orgType;
- }
- @Column(name = "mobile", length = 32)
- public String getMobile() {
- return mobile;
- }
- public void setMobile(String mobile) {
- this.mobile = mobile;
- }
- @Column(name = "fax", length = 32)
- public String getFax() {
- return fax;
- }
- public void setFax(String fax) {
- this.fax = fax;
- }
- @Column(name = "address", length = 100)
- public String getAddress() {
- return address;
- }
- public void setAddress(String address) {
- this.address = address;
- }
-
- @Column(name="depart_order")
- public String getDepartOrder() {
- return departOrder;
- }
- public void setDepartOrder(String departOrder) {
- this.departOrder = departOrder;
- }
-
- @Column(name ="STATUS",nullable=false,length=1)
- public String getStatus(){
- return this.status;
- }
- public void setStatus(String status){
- this.status = status;
- }
- @Column(name ="SUPERVISOR_ID",nullable=true,length=36)
- public String getSupervisorId() {
- return supervisorId;
- }
- public void setSupervisorId(String supervisorId) {
- this.supervisorId = supervisorId;
- }
- @Column(name ="dept_proj_managerid",nullable=true,length=36)
- public String getDeptProjManagerid() {
- return deptProjManagerid;
- }
- public void setDeptProjManagerid(String deptProjManagerid) {
- this.deptProjManagerid = deptProjManagerid;
- }
- public String getParentdepartid() {
- return parentdepartid;
- }
- public void setParentdepartid(String parentdepartid) {
- this.parentdepartid = parentdepartid;
- }
-
- }
|