智慧保安后台管理-验收版本
tangzy
2021-12-06 30df94c05573a426d030510d4dd58ae1d93bfb7a
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
package org.springblade.modules.directive.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 指令实体类
 * @author zhongrj
 * @time 2021-07-21
 */
@Data
@TableName("sys_directive")
public class Directive implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 指令主键id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
 
    /**
     * 类型
     */
    @TableField("type")
    private Integer type;
 
 
    /**
     * 发送人 id
     */
    @TableField("send_directive_id")
    private String sendDirectiveId;
 
 
    /**
     * 接收人ids  可以是多个
     */
    @TableField("receive_directive_ids")
    private String receiveDirectiveIds;
 
 
    /**
     * 发送指令时间
     */
    @TableField("send_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;
 
 
    /**
     * 指令内容
     */
    private String content;
 
}