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;
|
|
}
|