PurchasePlanStatisticsVO.java 1.8 KB
package com.skua.modules.erp.vo;

import com.skua.core.aspect.annotation.Dict;
import com.skua.modules.erp.entity.PurchasePlan;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PurchasePlan统计对象", description="PurchasePlan统计对象")
public class PurchasePlanStatisticsVO extends PurchasePlan {
    /**物料编号*/
    @Excel(name = "物料编号", width = 15)
    @ApiModelProperty(value = "物料名称")
    private String sparepartName;

    @ApiModelProperty(value = "申请人名称")
    private String applyUserName;


    /**物料类别编号*/
    @Excel(name = "物料类别编号", width = 15)
    @ApiModelProperty(value = "物料类别编号")
    @Dict(dictTable = "equipment_sparepart_type", dicCode="id", dicText = "item_text")
    private String sparepartType;

    @Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private String specification;
    /**计量单位*/
    @Excel(name = "计量单位", width = 15)
    @ApiModelProperty(value = "计量单位")
    private String measuringUnit;

    @Excel(name = "物料用途", width = 15)
    @ApiModelProperty(value = "物料用途")
    private String purpose;

    /**计划采购数量*/
    @Excel(name = "计划采购数量", width = 15)
    @ApiModelProperty(value = "计划采购数量")
    private String purchaseNum;
    /**单价*/
    @Excel(name = "单价", width = 15)
    @ApiModelProperty(value = "单价")
    private String unitPrice;

    @Excel(name = "总价", width = 15)
    @ApiModelProperty(value = "总价")
    private String totalPrice;
}