package thyyxxk.webserver.entity.medicalinsurance.manage.goods;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

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

@Data
public class InvinfoUpload {
    @JSONField(name = "med_list_codg")
    private String medListCodg;

    @JSONField(name = "fixmedins_hilist_id")
    private String fixmedinsHilistId;

    @JSONField(name = "fixmedins_hilist_name")
    private String fixmedinsHilistName;

    @JSONField(name = "rx_flag")
    private String rxFlag;

    @JSONField(name = "invdate")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date invdate;

    @JSONField(name = "inv_cnt")
    private BigDecimal invCnt;

    @JSONField(name = "manu_lotnum")
    private String manuLotnum;

    @JSONField(name = "fixmedins_bchno")
    private String fixmedinsBchno;

    @JSONField(name = "manu_date")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String manuDate;

    @JSONField(name = "expy_end")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String expyEnd;

    @JSONField(name = "memo")
    private String memo;

}
