提交 | 用户 | 时间
|
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 |
/** |
|
7 |
* 岗位 Response DTO |
|
8 |
* |
|
9 |
* @author iailab |
|
10 |
*/ |
|
11 |
@Schema(description = "RPC 服务 - 岗位 Response DTO") |
|
12 |
@Data |
|
13 |
public class PostRespDTO { |
|
14 |
|
|
15 |
@Schema(description = "岗位编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
16 |
private Long id; |
|
17 |
|
|
18 |
@Schema(description = "岗位名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "小土豆") |
|
19 |
private String name; |
|
20 |
|
|
21 |
@Schema(description = "岗位编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "iailab") |
|
22 |
private String code; |
|
23 |
|
|
24 |
@Schema(description = "岗位排序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
25 |
private Integer sort; |
|
26 |
|
|
27 |
@Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
28 |
private Integer status; // 参见 CommonStatusEnum 枚举 |
|
29 |
|
|
30 |
} |