using Common.Models.RequestResponse; using System.ComponentModel.DataAnnotations; namespace Common.Models.TxnModel { public class SendTransaction : CommonRequest { public string RequestedBy { get; set; } public int TranId { get; set; } public bool isTxnAlreadyCreated { get; set; } public string ExRateConfirmId { get; set; } #region SenderInformation [Required] public TxnSender Sender { get; set; } #endregion SenderInformation #region receiveInformtaion [Required] public TxnReceiver Receiver { get; set; } #endregion receiveInformtaion #region txnInformation [Required] public TxnTransaction Transaction { get; set; } #endregion txnInformation #region agentInformation [Required] public TxnAgent Agent { get; set; } #endregion agentInformation public bool IsRealtime { get; set; } [MaxLength(1)] public string IsManualSc { get; set; } public decimal ManualSc { get; set; } public bool IsApproveTxn { get; set; } public bool IsAccValSupported { get; set; } } }