| | |
| | | package com.xinquan.system.api.domain; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import javax.validation.constraints.Email; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.Size; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.xinquan.common.core.web.domain.BaseEntity; |
| | |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | |
| | | /** 部门ID */ |
| | | @TableId(type = IdType.AUTO) |
| | | @ApiModelProperty(value = "主键id") |
| | | |
| | | private Long deptId; |
| | | @ApiModelProperty(value = "部门Id") |
| | | private String deptCode; |
| | | @ApiModelProperty(value = "部门人数") |
| | | @TableField(exist = false) |
| | | |
| | | private Integer userCount; |
| | | |
| | | /** 父部门ID */ |
| | | private Long parentId; |
| | | |
| | | /** 祖级列表 */ |
| | | private String ancestors; |
| | | @ApiModelProperty("禁用备注") |
| | | private String reason; |
| | | @ApiModelProperty("操作人") |
| | | private String handleName; |
| | | @ApiModelProperty("禁用时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private LocalDateTime disableTime; |
| | | |
| | | /** 部门名称 */ |
| | | |
| | | @ApiModelProperty(value = "部门名称") |
| | | private String deptName; |
| | | @ApiModelProperty(value = "备注") |
| | | |
| | | private String remark; |
| | | |
| | | /** 显示顺序 */ |
| | | private Integer orderNum; |
| | |
| | | /** 邮箱 */ |
| | | private String email; |
| | | |
| | | /** 部门状态:0正常,1停用 */ |
| | | |
| | | @ApiModelProperty(value = "部门状态:0正常,1停用") |
| | | private String status; |
| | | |
| | | /** 删除标志(0代表存在 2代表删除) */ |
| | |
| | | .append("updateTime", getUpdateTime()) |
| | | .toString(); |
| | | } |
| | | |
| | | @Override |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | @Override |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | public String getDeptCode() { |
| | | return deptCode; |
| | | } |
| | | |
| | | public void setDeptCode(String deptCode) { |
| | | this.deptCode = deptCode; |
| | | } |
| | | |
| | | |
| | | |
| | | public Integer getUserCount() { |
| | | return userCount; |
| | | } |
| | | |
| | | public void setUserCount(Integer userCount) { |
| | | this.userCount = userCount; |
| | | } |
| | | |
| | | public String getReason() { |
| | | return reason; |
| | | } |
| | | |
| | | public void setReason(String reason) { |
| | | this.reason = reason; |
| | | } |
| | | |
| | | public String getHandleName() { |
| | | return handleName; |
| | | } |
| | | |
| | | public void setHandleName(String handleName) { |
| | | this.handleName = handleName; |
| | | } |
| | | |
| | | |
| | | public LocalDateTime getDisableTime() { |
| | | return disableTime; |
| | | } |
| | | |
| | | public void setDisableTime(LocalDateTime disableTime) { |
| | | this.disableTime = disableTime; |
| | | } |
| | | } |