package thyyxxk.webserver.entity.querydata;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

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

/**
 * @author 肖
 */
@Data
public class CovidVaccinateFactory implements Serializable {

    private static final long serialVersionUID = 5933243722775161066L;

    /**
     * code
     */
    private Integer code;
    /**
     * 原来的code
     */
    private Integer oldCode;

    /**
     * vaccinateId
     */
    private Integer vaccinateId;

    /**
     * 疫苗名称
     */
    private String vaccinateName;

    /**
     * specification
     */
    private String specification;

    /**
     * price
     */
    private BigDecimal price;

    /**
     * name
     */
    private String name;

    /**
     * enableFlag
     */
    private Integer enableFlag;

    /**
     * createDatetime
     */
    private Date createDatetime;

    /**
     * 设置每日默认插入的阈值
     */
    private Integer defaultQuantity;

    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

    @TableField(exist = false)
    private Integer value;

    @TableField(exist = false)
    private Integer id;

}
