package com.brilliance.isc.common.api.liaall.vo;

import com.brilliance.mda.runtime.mda.util.Decimals;
import com.brilliance.isc.common.liaall.vo.AcceptLineVo;
import com.brilliance.isc.common.liaall.vo.TenorSettleVo;
import com.brilliance.isc.common.liaallg.vo.LiaallgVo;
import com.brilliance.isc.common.vo.AbstractCommonVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

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

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

@Data
@Builder
@ApiModel(value = "表外请求返回信息", description = "表外请求返回信息")
public class LiaallResponse extends AbstractCommonVo {

    @ApiModelProperty(value = "concur", name = "concur", required = true)
    private String concur = NULLSTR;

    @ApiModelProperty(value = "misamt", name = "misamt", required = true)
    private BigDecimal misamt = Decimals.ZERO_SCALE2;

    @ApiModelProperty(value = "是否读过old数据", name = "oldredflg", required = true)
    private  String oldredflg = NULLSTR;

    @ApiModelProperty(value = "表外记账条目", name = "liaallg", required = true)
    private List<LiaallgVo> liaallg;

    private List<TenorSettleVo> tenorSettles;

    private List<AcceptLineVo> acceptLines;

    private BigDecimal tensetamt = Decimals.ZERO_SCALE2;

    private String tenset = NULLSTR;

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

}
