| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- package com.ctsi.SysOrg.entity;
- import com.ctsi.utils.LongtoStringSerialize;
- import com.fasterxml.jackson.databind.annotation.JsonSerialize;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.baomidou.mybatisplus.annotation.TableId;
- import java.io.Serializable;
- import java.util.Date;
- /**
- * 部门信息表;
- * @author : machaoyi
- * @date : 2024-1-10
- */
- @ApiModel(value = "部门信息表",description = "")
- @TableName("sys_org")
- public class SysOrg implements Serializable,Cloneable{
- /** 主键id */
- @ApiModelProperty(value = "主键id",notes = "")
- @TableId
- @JsonSerialize(using = LongtoStringSerialize.class)
- private Long id ;
- /** 创建人userid */
- @ApiModelProperty(value = "创建人userid",notes = "")
- private Long createdBy ;
- /** 创建时间 */
- @ApiModelProperty(value = "创建时间",notes = "")
- private Date createdTime ;
- /** 逻辑删除 */
- @ApiModelProperty(value = "逻辑删除",notes = "")
- private Integer delFlag ;
- /** 部门名称 */
- @ApiModelProperty(value = "部门名称",notes = "")
- private String orgName ;
- /** 描述 */
- @ApiModelProperty(value = "描述",notes = "")
- private String description ;
- /** 父级 */
- @ApiModelProperty(value = "父级",notes = "")
- private Long parentId ;
- /** 排序 */
- @ApiModelProperty(value = "排序",notes = "")
- private Integer orderBy ;
- /** 部门负责人 */
- @ApiModelProperty(value = "部门负责人",notes = "")
- private String orgLeader ;
- /** 联系方式 */
- @ApiModelProperty(value = "联系方式",notes = "")
- private String orgLeaderPhone ;
- /** 主键id */
- public Long getId(){
- return this.id;
- }
- /** 主键id */
- public void setId(Long id){
- this.id=id;
- }
- /** 创建人userid */
- public Long getCreatedBy(){
- return this.createdBy;
- }
- /** 创建人userid */
- public void setCreatedBy(Long createdBy){
- this.createdBy=createdBy;
- }
- /** 创建时间 */
- public Date getCreatedTime(){
- return this.createdTime;
- }
- /** 创建时间 */
- public void setCreatedTime(Date createdTime){
- this.createdTime=createdTime;
- }
- /** 逻辑删除 */
- public Integer getDelFlag(){
- return this.delFlag;
- }
- /** 逻辑删除 */
- public void setDelFlag(Integer delFlag){
- this.delFlag=delFlag;
- }
- /** 部门名称 */
- public String getOrgName(){
- return this.orgName;
- }
- /** 部门名称 */
- public void setOrgName(String orgName){
- this.orgName=orgName;
- }
- /** 描述 */
- public String getDescription(){
- return this.description;
- }
- /** 描述 */
- public void setDescription(String description){
- this.description=description;
- }
- /** 父级 */
- public Long getParentId(){
- return this.parentId;
- }
- /** 父级 */
- public void setParentId(Long parentId){
- this.parentId=parentId;
- }
- /** 排序 */
- public Integer getOrderBy(){
- return this.orderBy;
- }
- /** 排序 */
- public void setOrderBy(Integer orderBy){
- this.orderBy=orderBy;
- }
- /** 部门负责人 */
- public String getOrgLeader(){
- return this.orgLeader;
- }
- /** 部门负责人 */
- public void setOrgLeader(String orgLeader){
- this.orgLeader=orgLeader;
- }
- /** 联系方式 */
- public String getOrgLeaderPhone(){
- return this.orgLeaderPhone;
- }
- /** 联系方式 */
- public void setOrgLeaderPhone(String orgLeaderPhone){
- this.orgLeaderPhone=orgLeaderPhone;
- }
- }
|