package org.jeecg.modules.library.entity;
|
|
import java.io.Serializable;
|
import java.io.UnsupportedEncodingException;
|
import java.util.Date;
|
import java.math.BigDecimal;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.jeecg.common.aspect.annotation.Dict;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
/**
|
* @Description: 固件
|
* @Author: jeecg-boot
|
* @Date: 2023-07-24
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("lib_firmware")
|
@Accessors(chain = true)
|
@EqualsAndHashCode(callSuper = false)
|
@ApiModel(value="lib_firmware对象", description="固件")
|
public class LibFirmware implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**主键*/
|
@TableId(type = IdType.ASSIGN_ID)
|
@ApiModelProperty(value = "主键")
|
private String id;
|
/**创建人*/
|
@ApiModelProperty(value = "创建人")
|
private String createBy;
|
/**创建日期*/
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "创建日期")
|
private Date createTime;
|
/**更新人*/
|
@ApiModelProperty(value = "更新人")
|
private String updateBy;
|
/**更新日期*/
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "更新日期")
|
private Date updateTime;
|
/**所属部门*/
|
@ApiModelProperty(value = "所属部门")
|
private String sysOrgCode;
|
/**编码*/
|
@Excel(name = "编码", width = 15)
|
@ApiModelProperty(value = "编码")
|
private String code;
|
/**名称*/
|
@Excel(name = "名称", width = 15)
|
@ApiModelProperty(value = "名称")
|
private String name;
|
/**类别*/
|
@Excel(name = "类别", width = 15, dicCode = "fw_category")
|
@Dict(dicCode = "fw_category")
|
@ApiModelProperty(value = "类别")
|
private String category;
|
/**类型*/
|
@Excel(name = "类型", width = 15, dicCode = "fw_type")
|
@Dict(dicCode = "fw_type")
|
@ApiModelProperty(value = "类型")
|
private String type;
|
/**版本*/
|
@Excel(name = "版本", width = 15)
|
@ApiModelProperty(value = "版本")
|
private String version;
|
/**版本说明*/
|
@Excel(name = "版本说明", width = 15)
|
@ApiModelProperty(value = "版本说明")
|
private String versionExplain;
|
/**适用传感器类型*/
|
@Excel(name = "适用传感器类型", width = 15, dictTable = "lims_prod_type", dicText = "name", dicCode = "code")
|
@Dict(dictTable = "lims_prod_type", dicText = "name", dicCode = "code")
|
@ApiModelProperty(value = "适用传感器类型")
|
private String sensorType;
|
/**适用芯片*/
|
@Excel(name = "适用芯片", width = 15, dicCode = "fw_chip")
|
@Dict(dicCode = "fw_chip")
|
@ApiModelProperty(value = "适用芯片")
|
private String chip;
|
/**评分*/
|
@Excel(name = "评分", width = 15)
|
@ApiModelProperty(value = "评分")
|
private String score;
|
/**说明*/
|
@Excel(name = "说明", width = 15)
|
@ApiModelProperty(value = "说明")
|
private String fwExplain;
|
/**(0:待审核/1:待批准/2:已批准/3:废止)*/
|
@Excel(name = "(0:待审核/1:待批准/2:已批准/3:废止)", width = 15)
|
@ApiModelProperty(value = "(0:待审核/1:待批准/2:已批准/3:废止)")
|
private String fwState;
|
/**是否启用*/
|
@Excel(name = "是否启用", width = 15)
|
@ApiModelProperty(value = "是否启用")
|
private String isEnable;
|
/**附件*/
|
@Excel(name = "附件", width = 15)
|
@ApiModelProperty(value = "附件")
|
private String attachment;
|
/**标签*/
|
@Excel(name = "标签", width = 15)
|
@ApiModelProperty(value = "标签")
|
private String fwTag;
|
/**备注*/
|
@Excel(name = "备注", width = 15)
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
/**上传人*/
|
@Excel(name = "上传人", width = 15)
|
@ApiModelProperty(value = "上传人")
|
private String uploader;
|
/**上传时间*/
|
@Excel(name = "上传时间", width = 15, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
@ApiModelProperty(value = "上传时间")
|
private Date uploadTime;
|
/**审核人*/
|
@Excel(name = "审核人", width = 15)
|
@ApiModelProperty(value = "审核人")
|
private String auditor;
|
/**审核时间*/
|
@Excel(name = "审核时间", width = 15, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
@ApiModelProperty(value = "审核时间")
|
private Date auditTime;
|
/**批准人*/
|
@Excel(name = "批准人", width = 15)
|
@ApiModelProperty(value = "批准人")
|
private String approver;
|
/**批准时间*/
|
@Excel(name = "批准时间", width = 15, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
@ApiModelProperty(value = "批准时间")
|
private Date approvalTime;
|
}
|