package com.jeeplus.psimanage.foodPurchase.domain;

import com.baomidou.mybatisplus.annotation.TableField;
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;
import java.util.List;

@Data
@TableName("psi_management_food_purchase_basic")
public class PsiFoodPurchaseBasic extends BaseEntity {

    public static final String BIZ_CODE = "154";

    private String remarks;

    private String purchaseNo;

    private String handledBy;

    private String handledByOffice;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date purchaseTime;

    private BigDecimal totalPrice;

    private String procInsId;

    private String status;

    private String processDefinitionId;

    @TableField(exist = false)
    private List<PsiFoodPurchaseDetail> detailInfos;
}
