huminmin
2026-05-11 bd424ceae9e38a0a50418f71093becd1430cc83b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package com.ruoyi.production.bean.vo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.time.LocalDateTime;
import java.util.List;
 
@Data
@Schema(name = "ProductionTeamVo", description = "生产班组响应数据")
public class ProductionTeamVo {
 
    @Schema(description = "班组ID")
    private Long id;
 
    @Schema(description = "班组名称")
    private String teamName;
 
    @Schema(description = "班组长ID")
    private Long leaderId;
 
    @Schema(description = "班组长姓名")
    private String leaderName;
 
    @Schema(description = "班组成员列表")
    private List<MemberVo> members;
 
    @Schema(description = "创建日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    @Schema(description = "备注")
    private String remark;
 
    @Data
    @Schema(name = "MemberVo", description = "班组成员信息")
    public static class MemberVo {
        @Schema(description = "用户ID")
        private Long userId;
 
        @Schema(description = "用户昵称")
        private String nickName;
 
        @Schema(description = "是否为班组长")
        private Boolean isLeader;
    }
}