package com.jeeplus.psimanage.foodPurchase.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("psi_management_food_purchase_detail")
public class PsiFoodPurchaseDetail extends BaseEntity {

    private String basicId;

    private String goodsName;

    private String foodType;

    private BigDecimal purchaseNumber;

    private String unit;

    private BigDecimal unitPrice;

    private BigDecimal totalPrice;

    private String storageArea;

    private String shelfLife;

    private String shelfLifeUnit;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date expiryDate;

    private Integer sort;

    private String remarks;
}
