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.
 
 

25 lines
689 B

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();
}
}