package com.brilliance.isc.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.Date;

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


/**
* TABLE:fee:FEE - Fee
*/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Fee {

        //Internal Unique ID of Fee
        private String inr = NULLSTR;

        //Fee Code
        private String cod = NULLSTR;

        //Description in SWIFT Messages
        private String sftcod = NULLSTR;

        //Default Role to Pay this Fee
        private String rol = NULLSTR;

        //Income
        private String incflg = NULLSTR;

        //Statistic Flag
        private String staflg = NULLSTR;

        //VAT Flag
        private String vatflg = NULLSTR;

        //Account
        private String acc = NULLSTR;

        //Accruing Account
        private String accacr = NULLSTR;

        //Sort Priority for Settlement
        private String eno = NULLSTR;

        //Relevant Tier Amount Type
        private String reltir = NULLSTR;

        //Group Code
        private String grpcod = NULLSTR;

        //Version
        private String ver = NULLSTR;

        //Modification of Description Allowed in Settlement
        private String dscmodflg = NULLSTR;

        //Relevant Transaction and Business Sector
        private String reltrn = NULLSTR;

        //Begin of Validity Incl.
        @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
        private Date begdat = NULLDATE;

        //End of Validity Excl.
        @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
        private Date enddat = NULLDATE;

        //Fee Code for DTA Messages
        private String dtacod = NULLSTR;

        //Entity Group of Fee
        private String etgextkey = NULLSTR;

        //tax acc
        private String taxacc = NULLSTR;

        //价税分离
        private String taxflg = NULLSTR;

        //费用备注
        private String remark = NULLSTR;
}