mg
2022-10-09 6e510a9e46d0beaa101360a07f5c33ac51648d05
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package com.ycl.dto.message;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotNull;
 
/**
 * <p>
 * 消息参数体
 * </p>
 *
 * @author mg
 * @since 2022-10-08
 */
@Data
@ApiModel("消息参数体")
public class MessageParam {
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    @NotNull(message = "标题为空")
    private String head;
    /**
     * 消息类型
     */
    @ApiModelProperty(value = "消息类型0-站内信1-邮件2-短信")
    @NotNull(message = "消息类型为空")
    private Integer messageType;
    /**
     * 消息体
     */
    @ApiModelProperty(value = "消息体")
    @NotNull(message = "消息体为空")
    private String body;
    /**
     * 发送者
     */
    @ApiModelProperty(value = "发送者")
    @NotNull(message = "发送者为空")
    private String targetFrom;
    /**
     * 接收者
     */
    @ApiModelProperty(value = "接收者")
    @NotNull(message = "接收者为空")
    private String targetTo;
    /**
     * 随机码
     */
    @ApiModelProperty(value = "随机码")
    private String randomCode;
    /**
     * 发送时间
     */
    @ApiModelProperty(value = "发送时间")
    @NotNull(message = "发送时间为空")
    private String sendTime;
    /**
     * 状态0-未发布1-已发布
     */
    @ApiModelProperty(value = "状态0-未发布1-已发布")
    private Integer status;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注 ps:预留字段")
    private String remark;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Long createUser;
}