EquipmentCheckQueryVO.java 2.5 KB
package com.skua.modules.equipment.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.skua.core.aspect.annotation.Dict;
import com.skua.modules.equipment.entity.EquipmentCheckChild;
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 javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;
import java.util.List;

/**
 * @author sonin
 * @date 2021/10/11 11:11
 */
@Data
@ApiModel
public class EquipmentCheckQueryVO {

    @ApiModelProperty(value = "盘点id")
    private String id;

    @ApiModelProperty(value = "所属机构")
    private String departId;
    
    @ApiModelProperty(value = "机构名称")
    private String departIdName;

    @Excel(name = "盘点单号", width = 15)
    @ApiModelProperty(value = "盘点单号")
    private String checkOrder;

    @Excel(name = "盘点类型", width = 15)
    @ApiModelProperty(value = "盘点类型name 字典[supplies_check_type]")
    private String typeName;

    @ApiModelProperty(value = "盘点类型 字典[supplies_check_type]")
    private String type;

    @Excel(name = "盘盈物料", width = 30)
    @ApiModelProperty(value = "盘盈物料")
    private String profitSupplies;

    @Excel(name = "盘亏物料", width = 30)
    @ApiModelProperty(value = "盘亏物料")
    private String lossSupplies;

    @ApiModelProperty(value = "仓库")
    private String suppliesWarehouseId;

    @Excel(name = "仓库", width = 15)
    @ApiModelProperty(value = "仓库name")
    private String suppliesWarehouseName;

    @Excel(name = "经办人", width = 15,dictTable = "sys_user",dicCode = "id",dicText = "realname")
    @ApiModelProperty(value = "经办人")
    @Dict(dicCode = "id",dictTable="sys_user",dicText="realname")
    private String transactBy;

    @Excel(name = "盘点时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "盘点时间")
    private Date checkTime;

    @ApiModelProperty(value = "状态:0=未修正库存数量;1=已修正库存数量")
    private String state;

    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;






}