package com.ktg.iscs.domain.vo.materials;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktg.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 物资对象 is_materials
 *
 * @author cgj
 * @date 2024-11-08
 */
@Data
public class ImportMaterialsVO
{

    @ApiModelProperty(value = "物资柜ID")
    private Long materialsCabinetId;

    @ApiModelProperty(value = "物资柜Name")
    @Excel(name = "物资柜")
    private String cabinetName;

    @ApiModelProperty(value = "物资名称")
    @Excel(name = "物资名称")
    private String materialsName;

    @ApiModelProperty(value = "物资类型ID")
    private Long materialsTypeId;

    @Excel(name = "物资类型")
    private String materialsTypeName;

    @Excel(name = "物资规格")
    private String valueName;

    @ApiModelProperty(value = "物资RFID")
    @Excel(name = "RFID")
    private String materialsRfid;

    @ApiModelProperty(value = "供应商")
    @Excel(name = "供应商")
    private String supplier;

    @ApiModelProperty(value = "有效期")
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationDate;

    private String properties;

}
