PurchasePlanItem.java 2.6 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 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_plan_item")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="erp_purchase_plan_item对象", description="采购计划物料清单")
public class PurchasePlanItem implements  Serializable{
    
	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
	private String id;
	/**采购计划编号*/
	@Excel(name = "采购计划编号", width = 15)
    @ApiModelProperty(value = "采购计划编号")
	private String planId;
	/**物料类别编号*/
	@Excel(name = "物料类别编号", width = 15)
    @ApiModelProperty(value = "物料类别编号")
	private String sparepartTypeId;


	/**物料编号*/
	@Excel(name = "物料编号", width = 15)
    @ApiModelProperty(value = "物料编号")
	private String sparepartId;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
	private String specifications;
	/**计量单位*/
	@Excel(name = "计量单位", width = 15)
    @ApiModelProperty(value = "计量单位")
	private String unit;
	/**计划采购数量*/
	@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 remarks;
	/**版本号*/
	@Excel(name = "版本号", width = 15)
    @ApiModelProperty(value = "版本号")
	private Integer versions;



	@ApiModelProperty(value = "总价")
	private String totalPrice;

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

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

	@TableField(exist=false)
	@ApiModelProperty(value = "物料名称")
	private String sparepartName;
}