EquipmentPurchaseBatchQueryVO.java 2.6 KB
package com.skua.modules.equipment.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
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;

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

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

    @Excel(name = "物料编号", width = 15)
    @ApiModelProperty(value = "物料编号")
    private java.lang.String suppliesCode;
    @ApiModelProperty(value = "物料id")
    private java.lang.String suppliesId;

    @Excel(name = "物料名称", width = 15)
    @ApiModelProperty(value = "物料名称")
    private java.lang.String suppliesName;

    @Excel(name = "批次号", width = 15)
    @ApiModelProperty(value = "批次号")
    private java.lang.String batchOrder;


    /**单价*/
    @Excel(name = "单价", width = 15)
    @ApiModelProperty(value = "单价")
    private java.math.BigDecimal unitPrice;
    /**采购数量*/
    @Excel(name = "采购数量", width = 15)
    @ApiModelProperty(value = "采购数量")
    private java.math.BigDecimal purchaseNum;
    /**总价*/
    @Excel(name = "总价", width = 15)
    @ApiModelProperty(value = "总价")
    private java.math.BigDecimal totalPrice;
    /**经办人*/
    @Excel(name = "经办人", width = 15,dicCode = "id",dictTable="sys_user",dicText="realname")
    @ApiModelProperty(value = "经办人")
    @Dict(dicCode = "id",dictTable="sys_user",dicText="realname")
    private java.lang.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 java.util.Date purchaseTime;



    @ApiModelProperty(value = "规格型号")
    private String specification;


    @ApiModelProperty(value = "生产厂商")
    private String manufacturer;


    @Dict(dicCode = "supplies_purchase_supplier")
    @ApiModelProperty(value = "供货商 字典[supplies_purchase_supplier]")
    private java.lang.String supplier;

    @ApiModelProperty(value = "采购单号(可能是第三方采购单号)")
    private java.lang.String purchaseOrder;

    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
}