longz
2026-04-21 c4db0a4526f61758272c92396aa788d84f098102
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
package com.sinata.appointment.dto;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;
 
@Data
@Schema(description = "编辑员工")
public class StaffUpdateRequest {
 
    @NotBlank
    private String uuid;
 
    @NotBlank
    @Size(max = 128)
    private String nickName;
 
    @Size(max = 64)
    private String staffNo;
 
    @Size(max = 512)
    private String avatarUrl;
 
    @NotBlank
    @Size(max = 32)
    private String mobile;
 
    @NotNull
    private Long deptId;
 
    @NotNull
    @Schema(description = "true 部门负责人,false 员工")
    private Boolean deptLeader;
}