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.

19 lines
550 B

  1. using Common.Utility;
  2. using System.ComponentModel.DataAnnotations;
  3. namespace JMENepal.Model
  4. {
  5. public class CommonModel
  6. {
  7. [Required]
  8. public string AGENT_CODE { get; set; } = GetStatic.ReadWebConfig("jme_agent_code", "");
  9. [Required]
  10. public string USER_ID { get; set; } = GetStatic.ReadWebConfig("jme_user_id", "");
  11. [Required]
  12. public string AGENT_SESSION_ID { get; set; }
  13. [Required]
  14. public string Password { get; set; } = GetStatic.ReadWebConfig("jme_password", "");
  15. }
  16. }