diff --git a/RemitInboundAPI/RemitInboundAPI.Common/Model/RemitModel/ExRateModel.cs b/RemitInboundAPI/RemitInboundAPI.Common/Model/RemitModel/ExRateModel.cs index 2900053..eadc3b8 100644 --- a/RemitInboundAPI/RemitInboundAPI.Common/Model/RemitModel/ExRateModel.cs +++ b/RemitInboundAPI/RemitInboundAPI.Common/Model/RemitModel/ExRateModel.cs @@ -137,10 +137,13 @@ namespace RemitInboundAPI.Common.Model.RemitModel public class RemittanceDetailsModel { [Required] + [StringLength(3)] public string? SendingCountryCode { get; set; } [Required] + [StringLength(3)] public string? PayoutCountryCode { get; set; } [Required] + [StringLength(2)] public string? PayoutTypeCode { get; set; } public string? PayoutBankCode { get; set; } public string? PayoutBankBranchCode { get; set; } @@ -166,6 +169,7 @@ namespace RemitInboundAPI.Common.Model.RemitModel [Required] public string? Occupation { get; set; } [Required] + [StringLength(1)] public string? CalcBy { get; set; } } @@ -174,6 +178,7 @@ namespace RemitInboundAPI.Common.Model.RemitModel [Required] [StringLength(20)] public string? SenderFirstName { get; set; } + [StringLength(20)] public string? SenderMiddleName { get; set; } [Required] [StringLength(20)]