package com.zzsmart.qomo.kn.cost.manage.entity;

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

/**
 * @Description: latest_purchase_price
 * @Author: jeecg-boot
 * @Date:   2024-06-11
 * @Version: V1.0
 */
@Data
@TableName("latest_purchase_price")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="latest_purchase_price对象", description="latest_purchase_price")
public class LatestPurchasePrice implements Serializable {
    private static final long serialVersionUID = 1L;

	/**门控料号（物料id）*/
	@Excel(name = "门控料号（物料id）", width = 15)
    @ApiModelProperty(value = "门控料号（物料id）")
    private String materialNumber;
	/**产品名称*/
	@Excel(name = "产品名称", width = 15)
    @ApiModelProperty(value = "产品名称")
    private String name;
	/**规格*/
	@Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private String norms;
	/**单位*/
	@Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private String unit;
	/**latestInvoiceNo*/
	@Excel(name = "latestInvoiceNo", width = 15)
    @ApiModelProperty(value = "latestInvoiceNo")
    private String latestInvoiceNo;
	/**估算日期*/
	@Excel(name = "估算日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "估算日期")
    private Date latestInvoiceDate;
	/**latestInvoiceSupplier*/
	@Excel(name = "latestInvoiceSupplier", width = 15)
    @ApiModelProperty(value = "latestInvoiceSupplier")
    private String latestInvoiceSupplier;
	/**latestInvoicePrice*/
	@Excel(name = "latestInvoicePrice", width = 15)
    @ApiModelProperty(value = "latestInvoicePrice")
    private BigDecimal latestInvoicePrice;
	/**不含税价格*/
	@Excel(name = "不含税价格", width = 15)
    @ApiModelProperty(value = "不含税价格")
    private BigDecimal unitPriceWithoutTax;
	/**interExamCost*/
	@Excel(name = "interExamCost", width = 15)
    @ApiModelProperty(value = "interExamCost")
    private BigDecimal interExamCost;
	/**工厂代号（工厂id）*/
	@Excel(name = "工厂代号（工厂id）", width = 15)
    @ApiModelProperty(value = "工厂代号（工厂id）")
    private String factory;
	/**维护人*/
	@Excel(name = "维护人", width = 15)
    @ApiModelProperty(value = "维护人")
    private String guardian;
	/**维护时间*/
	@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 maintenanceTime;
	/**isadd*/
	@Excel(name = "isadd", width = 15)
    @ApiModelProperty(value = "isadd")
    private Integer isadd;
	/**采购类型*/
	@Excel(name = "采购类型", width = 15)
    @ApiModelProperty(value = "采购类型")
    private String purchaseType;
	/**是否启用*/
	@Excel(name = "是否启用", width = 15)
    @ApiModelProperty(value = "是否启用")
    private Integer isinvalid;
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
}
