package com.brilliance.isc.common.invchk.vo;

import com.brilliance.mda.runtime.mda.util.Decimals;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

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

import static com.brilliance.mda.runtime.mda.Constants.NULLDATE;

/**
* @Description:发票明细列表vo
*/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class HandlepanVo {

    //INR
    private String inr;

    //发票号码
    private String invnum;

    //发票代码
    private String invcod;

    //发票监控状态
    private  String monstatus;

    //发票占用金额
    private BigDecimal amountin = Decimals.ZERO_SCALE3;

    //价税合计
    private BigDecimal amounttax = Decimals.ZERO_SCALE3;

    //开票日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date invdat = NULLDATE;

    //忽略
    private String ignflg;

    //替换
    private String repflg;

    //处理状态
    private String hantyp;

    //处理时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date handat;
}
