package org.sxkj.system.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import org.sxkj.common.handler.ListToStringTypeHandler;
|
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* License管理实体类
|
*/
|
@Data
|
@TableName(value = "manage_license")
|
public class ManageLicense {
|
|
public static final Integer CHECK_EXPIRE_TIME = 2;
|
//不用校验过期时间
|
public static final Integer NOT_CHECK_EXPIRE_TIME = 1;
|
|
/**
|
* 主键ID
|
*/
|
private Long id;
|
|
/**
|
* 机构ID
|
*/
|
private String licenseId;
|
|
/**
|
* 机构名称
|
*/
|
private String licenseName;
|
|
/**
|
* 类型:1-不验证过期时间,2-验证过期时间
|
*/
|
private Integer licenseType;
|
|
/**
|
* 过期时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date expireDay;
|
|
/**
|
* 设备数量 -1表示不显示数量
|
*/
|
private Integer printClientCount=-1;
|
|
/**
|
* 是否校验机器码:1-校验,0-不校验
|
*/
|
private Boolean checkMachineCode;
|
|
/**
|
* 机器码
|
*/
|
private String machineCode;
|
|
/**
|
* 创建人
|
*/
|
private Long createBy;
|
|
/**
|
* 创建时间
|
*/
|
private Date createTime;
|
|
/**
|
* 证书地址
|
*/
|
private String url;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
|
}
|