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.

24 lines
689 B

  1. using Common.Utility;
  2. using System;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace GMENepal.Model
  5. {
  6. public class GMECommonRequest
  7. {
  8. [MaxLength(50)]
  9. [Required]
  10. public string PartnerId { get; set; } = GetStatic.ReadWebConfig("gme_partnerId", "");
  11. [MaxLength(50)]
  12. [Required]
  13. public string UserName { get; set; } = GetStatic.ReadWebConfig("gme_user_name", "");
  14. [MaxLength(50)]
  15. [Required]
  16. public string Password { get; set; } = GetStatic.ReadWebConfig("gme_password", "");
  17. [MaxLength(150)]
  18. [Required]
  19. public string SessionId { get; set; } = Guid.NewGuid().ToString();
  20. }
  21. }