ny
23 小时以前 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
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
package jnpf.model.schedule;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;
 
import jakarta.validation.constraints.NotNull;
 
@Data
public class ScheduleCrForm {
    @Schema(description ="开始时间")
    private long startTime;
    @NotNull(message = "必填")
    @Schema(description ="结束时间")
    private long endTime;
    @NotBlank(message = "必填")
    @Schema(description ="日程内容")
    private String content;
    @Schema(description ="提醒设置")
    private Integer early;
    @Schema(description ="APP提醒(1-提醒,0-不提醒)")
    private Integer appAlert;
    @Schema(description ="日程颜色")
    private String colour;
    @Schema(description ="颜色样式")
    private String colourCss;
    @Schema(description ="微信提醒(1-提醒,0-不提醒)")
    private Integer weChatAlert;
    @Schema(description ="邮件提醒(1-提醒,0-不提醒)")
    private Integer mailAlert;
    @Schema(description ="短信提醒(1-提醒,0-不提醒)")
    private Integer mobileAlert;
 
}