package com.yeejoin.equipmanage.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.annotation.ExcelProperty;
import com.yeejoin.equipmanage.utils.ExplicitConstraint;
import com.yeejoin.equipmanage.utils.RoleNameExplicitConstraint;
import lombok.Data;
import org.bouncycastle.cert.dane.DANECertificateFetcher;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ZeHua Li
 * @date 2020/9/8 13:46
 * @since v2.0
 */
@Data
public class EquipmentDetailDownloadTemplateDto implements Serializable {

    @Excel(name = "器材名称", width = 30, orderNum = "1")
    private String name;

    @Excel(name = "器材编码（从装备定义中获取）", width = 30, orderNum = "2")
    private String code;

    @Excel(name = "规格型号", width = 30, orderNum = "3")
    private String standard;

    @Excel(name = "品牌", width = 30, orderNum = "4")
    private String brand;

    @Excel(name = "生产厂家名称", width = 30, orderNum = "5")
    private String manufacturerName;

    @Excel(name = "设备编码", width = 30, orderNum = "6")
    private String systemCode;

    @Excel(name = "物联编码", width = 30, orderNum = "7")
    private String iotCode;

    @Excel(name = "存放位置（货位编码）", width = 30, orderNum = "8")
    private String warehouseStructCode;

    @Excel(name = "位置信息", width = 30, orderNum = "9")
    private String description;

    @Excel(name = "消防系统编码", width = 30, orderNum = "10")
    private String fightingSysCodes;

    @Excel(name = "所属队伍",width = 30,orderNum = "11")
    private String fireTeam;

    @Excel(name = "所属单位",width = 30,orderNum = "12")
    private String companyName;

    @Excel(name = "生产日期",width = 30, orderNum = "13")
    //@Excel(name = "品牌", width = 30, orderNum = "4")
    private Date productionDate;

    @Excel(name = "报废年限",width = 30, orderNum = "14")
    //@Excel(name = "品牌", width = 30, orderNum = "4")
    private String expiryDate;

    @Excel(name = "维保周期",width = 30, orderNum = "15")
    //@Excel(name = "品牌", width = 30, orderNum = "4")
    private BigDecimal maintenanceCycle ;

    @Excel(name = "投运时间",width = 30, orderNum = "16")
    //@Excel(name = "品牌", width = 30, orderNum = "4")
    private Date deliveryDate;
    
    @Excel(name = "所属系统",width = 30, orderNum = "17")
    //@Excel(name = "所属单位",width = 30,orderNum = "12")
    private String systemName;
}
