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

import com.alibaba.fastjson.annotation.JSONField;
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("EquipmentAllotQueryVO")
public class EquipmentAllotQueryVO {
    @ApiModelProperty(value = "调拨id")
    private String id;

    @Dict(dictTable = "sys_depart", dicCode = "id", dicText = "depart_name")
    @ApiModelProperty(value = "所属部门 ")
    private String departId;

    @Excel(name = "调拨单号", width = 25)
    @ApiModelProperty(value = "调拨单号 ")
    private String allotOrder;

    @Excel(name = "调拨物料", width = 15)
    @ApiModelProperty(value = "调拨物料 ")
    private String supplies;

    @Dict(dicCode = "id", dicText = "realname", dictTable = "sys_user")
    @ApiModelProperty(value = "经办人 ")
    @Excel(name = "经办人", width = 15,dicCode = "id", dicText = "realname", dictTable = "sys_user")
    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 allotTime;

    @Excel(name = "出库仓库", width = 15)
    @ApiModelProperty(value = "出库仓库 ")

    private String outSuppliesWarehouse;

    @Excel(name = "出库仓库", width = 15,dicCode = "id", dicText = "warehouse_name", dictTable = "supplies_warehouse")
    @ApiModelProperty(value = "出库仓库 ")
    @Dict(dicCode = "id", dicText = "warehouse_name", dictTable = "supplies_warehouse")
    private String outSuppliesWarehouseId;

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

    @Excel(name = "入库仓库", width = 15,dicCode = "id", dicText = "warehouse_name", dictTable = "supplies_warehouse")
    @ApiModelProperty(value = "入库仓库 ")
    @Dict(dicCode = "id", dicText = "warehouse_name", dictTable = "supplies_warehouse")
    private String inSuppliesWarehouseId;

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