package com.ktg.iscs.domain.dto.hardwareMaterialApi;

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

import java.util.Date;

/**
 * 物资更换记录对象 is_materials_change_record
 *
 * @author cgj
 * @date 2025-01-14
 */
@Data
public class ReplaceMaterialDTO
{
    @ApiModelProperty(value = "旧物资id")
    private Long oldMaterialsId;

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

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

    @ApiModelProperty(value = "物资规格id")
    private String propertiesValueId;

    @ApiModelProperty(value = "物资规格")
    private String propertiesValue;

    @ApiModelProperty(value = "物资规格种类id")
    private String propertiesPropertyId;

    @ApiModelProperty(value = "物资规格种类")
    private String propertiesProperty;

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

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

    @ApiModelProperty(value = "措施")
    private String measure;

}
