package com.dcsoft.system.visitor.domain;

import com.dcsoft.common.core.annotation.Excel;
import com.dcsoft.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

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

@Data
public class VisStuffInfoExportVo extends BaseEntity {

    private Long id;

    /**
     * 出门申请id
     */
    private Long exitId;

    /**
     * 事由
     */
    private String reason;


    private List<Long> exitIds;

    /**
     * 发货人
     */
    @Excel(name = "出门证编号", sort = 1, width = 19)
    private String exitPermitNo;


    /**
     * 发货人
     */
    @Excel(name = "发货人",sort = 2)
    private String userName;

    /**
     * 发货人联系方式
     */
    @Excel(name = "发货人联系方式",sort = 3)
    private String phone;

    /**
     * 发货人单位
     */
    @Excel(name = "发货人单位",sort = 4)
    private String visitingUnit;

    /**
     * 申请日期
     */
    @Excel(name = "申请日期",sort = 5)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String visTime;

    /**
     * 物资名称
     */
    @Excel(name = "物资名称",sort = 6)
    private String name;

    /**
     * 物资用途
     */
    @Excel(name = "物资用途", sort = 7)
    private String purpose;

    /**
     * 物资类型
     */
    private String type;

    /**
     * 物资类型名称
     */
    @Excel(name = "物资类型", sort = 8)
    private String typeName;

    /**
     * 规格型号
     */
    @Excel(name = "规格型号", sort = 9)
    private String model;

    /**
     * 计量单位
     */
    @Excel(name = "计量单位", sort = 10)
    private String unit;

    /**
     * 数量
     */
    @Excel(name = "数量", sort = 11)
    private Integer number;

    /**
     * 图片地址
     */
    private String imgUrls;

    /**
     * 图片地址
     */
    @Excel(name = "物资图片1", sort = 12, cellType = Excel.ColumnType.IMAGE, height = 50, width = 8)
    private String imgUrls1;

    /**
     * 图片地址
     */
    @Excel(name = "物资图片2", sort = 13, cellType = Excel.ColumnType.IMAGE, height = 50, width = 8)
    private String imgUrls2;

    /**
     * 图片地址
     */
    @Excel(name = "物资图片3", sort = 14, cellType = Excel.ColumnType.IMAGE, height = 50, width = 8)
    private String imgUrls3;

    /**
     * 备注
     */
    @Excel(name = "备注", sort = 15)
    private String remark;

    /**
     * 是否返厂0：否，1：是
     */
    @Excel(name = "是否返厂", sort = 16, readConverterExp = "0=否,1=是")
    private Integer isBack;

    /**
     * 返厂日期
     */
    @Excel(name = "返厂日期", sort = 17)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String backTime;

    /**
     * 返厂物资名称
     */
    private String backName;

    /**
     * 返厂物资用途
     */
    private String backPurpose;

    /**
     * 返厂物资类型
     */
    private String backType;

    /**
     * 返厂物资类型名称
     */
    private String backTypeName;

    /**
     * 返厂规格型号
     */
    private String backModel;

    /**
     * 返厂计量单位
     */
    private String backUnit;

    /**
     * 返厂数量
     */
    @Excel(name = "返厂数量", sort = 18)
    private Integer backNumber;

    /**
     * 返厂图片地址
     */
    private String backImgUrls;

    /**
     * 返厂图片地址
     */
    private String backImgUrls1;

    /**
     * 返厂图片地址
     */
    private String backImgUrls2;

    /**
     * 返厂图片地址
     */
    private String backImgUrls3;

    /**
     * 返厂备注
     */
    @Excel(name = "返厂备注", sort = 19)
    private String backRemark;


    /**
     * 审核状态
     */
    @Excel(name = "审核状态", sort = 21, readConverterExp = "0=通过,1=驳回,2=审核中,4=已取消,5=已失效")
    private String examineState;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 放行人名字
     */
    @Excel(name = "放行人", sort = 20)
    private String releaseName;

}
