liurunyu
12 小时以前 c6730faba09365bc31dba0e97d462ad542c577bf
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
package com.dy.pipIrrGlobal.pojoSe;
 
import com.alibaba.fastjson2.annotation.JSONField;
import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dy.common.po.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.*;
 
import java.util.Date;
 
/**
 * @author ZhuBaoMin
 * @date 2025-06-24 16:47
 * @LastEditTime 2025-06-24 16:47
 * @Description 充值机用管理卡
 */
 
@TableName(value="se_management_card", autoResultMap = true)
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class SeManagementCard implements BaseEntity {
    public static final long serialVersionUID = 202506240651001L;
 
    /**
    * 主键
    */
    @JSONField(serializeUsing= ObjectWriterImplToString.class)
    @TableId(type = IdType.INPUT)
    private Long id;
 
    /**
    * 通讯协议
    */
    @NotBlank(message = "通讯协议不能为空")
    private String protocol;
 
    /**
    * 卡片地址
    */
    @NotBlank(message = "卡片地址不能为空")
    private String cardAddr;
 
    /**
    * 识别码
    */
    @NotBlank(message = "识别码不能为空")
    private String securityCode;
 
    /**
    * 卡片类型;2-设置区域表号卡,3-取数卡,4-检查卡,5-测试卡,6-清零卡,7-IP设置卡,8-域名设置卡,9-GPS卡,10-时间配置卡
    */
    @NotNull(message = "卡片类型不能为空")
    private Byte cardType;
 
    /**
    * 开卡时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @NotNull(message = "开卡时间不能为空")
    private Date createTime;
 
    /**
    * 订单号
    */
    private String orderNo;
 
    /**
    * 5级行政区划编码
    */
    private String districtCode;
 
    /**
    * 项目编码
    */
    private Integer projectNo;
 
    /**
    * IP地址
    */
    private String ip;
 
    /**
    * 域名
    */
    private String domain;
 
    /**
    * 开关阀时间
    */
    private Integer openClostTime;
 
    /**
    * 备注信息
    */
    private String remarks;
 
}