PurchaseMaterial.java 3.4 KB
package com.skua.modules.erp.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 采购物料清单
 */
@Data
@TableName("erp_purchase_material")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="erp_purchase_material对象", description="采购物料清单")
public class PurchaseMaterial {

	/**主键*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "主键")
	private java.lang.String id;
	/**采购计划编号*/
	@Excel(name = "采购合同编号", width = 15)
    @ApiModelProperty(value = "采购合同编号")
	private java.lang.String contractId;
	/**物料类别编号*/
	@Excel(name = "物料类别编号", width = 15)
    @ApiModelProperty(value = "物料类别编号")
	private java.lang.String sparepartType;
	/**物料编号*/
	@Excel(name = "物料编号", width = 15)
    @ApiModelProperty(value = "物料编号")
	private java.lang.String sparepartId;
	@ApiModelProperty(value = "物料编码")
	private java.lang.String sparepartCode;
	@ApiModelProperty(value = "物料名称")
	private java.lang.String sparepartName;
	/**物料编号*/
	@Excel(name = "货号", width = 15)
    @ApiModelProperty(value = "货号")
	private java.lang.String goodCode;
	/**供应商id*/
	@Excel(name = "供应商id", width = 15)
    @ApiModelProperty(value = "供应商id")
	private java.lang.String supplierId;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
	private java.lang.String specification;
	/**计量单位*/
	@Excel(name = "计量单位", width = 15)
    @ApiModelProperty(value = "计量单位")
	private java.lang.String measuringUnit;
	/**计划采购数量*/
	@Excel(name = "计划采购数量", width = 15)
    @ApiModelProperty(value = "计划采购数量")
	private java.lang.String purchaseNum;
	/**单价*/
	@Excel(name = "单价", width = 15)
    @ApiModelProperty(value = "单价")
	private java.lang.String unitPrice;

	@Excel(name = "总价", width = 15)
	@ApiModelProperty(value = "总价")
	private String totalPrice;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private java.lang.String remark;


	@TableField(exist=false)
	@ApiModelProperty(value = "物料类别名称")
	private String sparepartTypeName;


	@TableField(exist=false)
	@ApiModelProperty(value = "供应商名称")
	private String supplierName;

	@TableField(exist=false)
	@ApiModelProperty(value = "厂站名称")
	private String departName;

	@TableField(exist=false)
	@ApiModelProperty(value = "扩展:采购物料数量")
	private String materialNum;
	/**单价*/
	@Excel(name = "分销单价", width = 15)
	@ApiModelProperty(value = "扩展:分销单价")
	private String distributPrice;
	/**总价*/
	@Excel(name = "分销总价", width = 15)
	@ApiModelProperty(value = "扩展:分销总价")
	private String distributTotalPrice;


}