package com.brilliance.isc.bo;

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

import java.math.BigDecimal;

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


/**
* TABLE:ubr:UBR - User Business Rights
*/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Ubr {

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

        //INR of Related User
        private String usrinr = NULLSTR;

        //Business Sector
        private String bussec = NULLSTR;

        //Release Currency
        private String relcur = NULLSTR;

        //Release Amount
        private  BigDecimal relamt  = Decimals.ZERO_SCALE2;

        //2nd Release Amount
        private  BigDecimal relamt2nd  = Decimals.ZERO_SCALE2;

        //Release Group
        private String relgrp = NULLSTR;

        //Transaction code
        private String trncod = NULLSTR;

        //inr of branch
        private String branchinr = NULLSTR;

        //Authorisation For one time
        private String autcur = NULLSTR;

        //Authorisation Amount for one time release
        private  BigDecimal autamt  = Decimals.ZERO_SCALE2;
}