| | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.ycl.api.BaseEntity; |
| | | import com.ycl.dto.user.AdminDepartDTO; |
| | | import com.ycl.entity.depart.UmsDepart; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Getter; |
| | |
| | | @Getter |
| | | @Setter |
| | | @ApiModel(value = "umsDepartVO", description = "部门表") |
| | | public class UmsDepartVO { |
| | | |
| | | @ApiModelProperty("主键") |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | @ApiModelProperty("部门名称") |
| | | private String departName; |
| | | |
| | | @ApiModelProperty("部门描述") |
| | | private String departDes; |
| | | public class UmsDepartVO extends UmsDepart { |
| | | |
| | | @ApiModelProperty("部门类型") |
| | | private String departType; |
| | | private String departTypeName; |
| | | |
| | | @ApiModelProperty("父级id,默认0") |
| | | private Long parentId; |
| | | @ApiModelProperty("父部门") |
| | | private String parentDepartName; |
| | | |
| | | @ApiModelProperty("停用状态,0->false,1->true,默认停用") |
| | | private Short status; |
| | | |
| | | /** |
| | | * 逻辑删除 0:false 1:true 默认0 |
| | | */ |
| | | @ApiModelProperty(value = "是否删除", hidden = true) |
| | | @TableField(select = false) |
| | | @TableLogic() |
| | | private byte isDeleted; |
| | | } |