提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.api.dept.dto; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
@Schema(description = "RPC 服务 - 部门 Response DTO") |
|
7 |
@Data |
|
8 |
public class DeptRespDTO { |
|
9 |
|
|
10 |
@Schema(description = "部门编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
11 |
private Long id; |
|
12 |
|
|
13 |
@Schema(description = "部门名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "研发部") |
|
14 |
private String name; |
|
15 |
|
|
16 |
@Schema(description = "父部门编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
17 |
private Long parentId; |
|
18 |
|
|
19 |
@Schema(description = "负责人的用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
20 |
private Long leaderUserId; |
|
21 |
|
|
22 |
@Schema(description = "部门状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
23 |
private Integer status; // 参见 CommonStatusEnum 枚举 |
|
24 |
|
|
25 |
} |