package com.brilliance.isc.vo.model;

import com.brilliance.mda.runtime.mda.util.Decimals;
import com.brilliance.isc.common.json.BigDecimalSerialize;
import com.brilliance.isc.common.vo.AbstractCommonVo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;

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

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

/**
 * 对外金融资产负债-E01
 */
@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
public class Fale01Vo extends AbstractCommonVo {

    //申报主体代码
    private String objcode = NULLSTR;

    //原始币种
    private String e0101cur = NULLSTR;

    //交易代码
    private String e0101 = NULLSTR;

    //交易对方国家/地区
    private String e0102 = NULLSTR;

    //收入金额
    @JsonSerialize(using = BigDecimalSerialize.class)
    private BigDecimal e0103 = Decimals.ZERO_SCALE2;

    //科目号
    private String trmcod = NULLSTR;

    //部门标签
    private String deptyp = NULLSTR;

    //经办机构号
    private String branch = NULLSTR;

    private int pageSize;

    private int pageNum;

    private Date frmdat;

    private Date tildat;

    private String ownref;
}
