using Common.Utility; using System; using System.ComponentModel.DataAnnotations; namespace GMENepal.Model { public class GMECommonRequest { [MaxLength(50)] [Required] public string PartnerId { get; set; } = GetStatic.ReadWebConfig("gme_partnerId", ""); [MaxLength(50)] [Required] public string UserName { get; set; } = GetStatic.ReadWebConfig("gme_user_name", ""); [MaxLength(50)] [Required] public string Password { get; set; } = GetStatic.ReadWebConfig("gme_password", ""); [MaxLength(150)] [Required] public string SessionId { get; set; } = Guid.NewGuid().ToString(); } }