package com.bonus.material.device.domain;

import com.bonus.common.biz.domain.BmFileInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author：liang.chao
 * @Date：2024/12/4 - 16:22
 */
@Data
public class SafeBookInfo {
    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "证书编号")
    private String code;

    @ApiModelProperty(value = "关联装备")
    private Integer maId;

    @ApiModelProperty(value = "上传人Id")
    private Long uploadPerson;

    @ApiModelProperty(value = "上传时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private String startTime;

    private String endTime;

    @ApiModelProperty(value = "安全证书附件")
    private List<BmFileInfo> fileInfoList;

    @ApiModelProperty(value = "装备名称")
    private String deviceName;

    @ApiModelProperty(value = "装备编码")
    private String deviceCode;

    @ApiModelProperty(value = "文件地址")
    private String url;

    @ApiModelProperty(value = "上传人")
    private String nickName;

    @ApiModelProperty(value = "上传人所属公司")
    private Integer uploadCom;
}
