提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.module.data.video.dto; |
H |
2 |
|
|
3 |
import com.iailab.framework.common.validation.group.AddGroup; |
|
4 |
import com.iailab.framework.common.validation.group.UpdateGroup; |
|
5 |
import lombok.Data; |
|
6 |
|
|
7 |
import javax.validation.constraints.NotNull; |
|
8 |
import javax.validation.constraints.Null; |
|
9 |
import java.io.Serializable; |
|
10 |
import java.util.Date; |
|
11 |
|
|
12 |
/** |
|
13 |
* @author PanZhibao |
|
14 |
* @Description |
|
15 |
* @createTime 2024年03月06日 |
|
16 |
*/ |
|
17 |
@Data |
|
18 |
public class LogDTO implements Serializable { |
|
19 |
private static final long serialVersionUID = 1L; |
|
20 |
|
|
21 |
@Null(message="{id.null}", groups = AddGroup.class) |
|
22 |
@NotNull(message="{id.require}", groups = UpdateGroup.class) |
|
23 |
private String id; |
|
24 |
|
|
25 |
/** |
|
26 |
* 设备ID |
|
27 |
*/ |
|
28 |
private String devId; |
|
29 |
|
|
30 |
/** |
|
31 |
* 事件 |
|
32 |
*/ |
|
33 |
private String event; |
|
34 |
|
|
35 |
/** |
|
36 |
* 内容 |
|
37 |
*/ |
|
38 |
private String content; |
|
39 |
|
|
40 |
/** |
|
41 |
* 创建时间 |
|
42 |
*/ |
|
43 |
private Date createDate; |
|
44 |
} |