You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
628 B

  1. using System.ComponentModel.DataAnnotations;
  2. namespace JMENepal.Model
  3. {
  4. public class JMEAgent : CommonModel
  5. {
  6. private string _PAYMENTTYPE;
  7. [Required]
  8. public string PAYMENTTYPE
  9. {
  10. get
  11. {
  12. if (_PAYMENTTYPE.ToLower().Equals("cash payment"))
  13. {
  14. return "C";
  15. }
  16. return "B";
  17. }
  18. set { _PAYMENTTYPE = value; }
  19. }
  20. [Required]
  21. public string PAYOUT_COUNTRY { get; set; }
  22. [Required]
  23. public string Ext_Bank_ID { get; set; }
  24. }
  25. }