EquipmentSuppliesInspectQueryVO.java 2.4 KB
package com.skua.modules.supplies.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel("EquipmentSuppliesInspectQueryVO")
public class EquipmentSuppliesInspectQueryVO {
    @ApiModelProperty(value = "抽检id")
    private String id;
    @ApiModelProperty(value = "机构id")
    private String depart_id;
    @ApiModelProperty(value = "机构名称")
    private String departIdName;

    @Excel(name = "抽检单号", width = 25)
    @ApiModelProperty(value = "抽检单号")
    private String inspectOrder;

    @ApiModelProperty(value = "物料编号")
    private String suppliesCode;
    
    /**抽检时间*/
	@Excel(name = "抽检时间", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "抽检时间")
	private Date inspectTime;

    @Excel(name = "物料名称", width = 25)
    @ApiModelProperty(value = "物料名称")
    private String suppliesName;
    private String suppliesId;

    @Excel(name = "规格型号", width = 25)
    @ApiModelProperty(value = "规格型号")
    private String specification;

    @Excel(name = "仓库", width = 25)
    @ApiModelProperty(value = "仓库")
    private String suppliesWarehouse;
    @Dict(dicCode = "id", dicText = "warehouse_name", dictTable = "supplies_warehouse")
    private String suppliesWarehouseId;

    @Dict(dicCode = "username", dicText = "realname", dictTable = "sys_user")
    @ApiModelProperty(value = "检验员")
    private String inspector;

    @ApiModelProperty(value = "抽检数量")
    private String inspectNum;

    @Excel(name = "质量情况", width = 25, dicCode = "supplies_inspect_quality_result")
    @Dict(dicCode = "supplies_inspect_quality_result")
    @ApiModelProperty(value = "质量情况(字典[supplies_inspect_quality_result])")
    private String qualityResult;

    @ApiModelProperty(value = "质量情况")
    private String qualityResultName;

    @ApiModelProperty(value = "综合评价")
    private String evaluate;

    @ApiModelProperty(value = "附件")
    private String accessories;

}