using System; using System.Collections.Generic; using System.Linq; using System.Text; using GB5Shared.DTO.Framework.Login; namespace FrameworkDAL.DTO.SelfProvision { public class SelfProvisionDTO { private int apicallid; private string clientcode; private string clientname; private List licensedtos=new List(); private string databasename; private string usercode; private string mailid; private string mobilenumber; private int numeberofweblicence; private int numberofmobilelicense; private DateTime licensevalidtill; private DateTime supportvalidtill; private DateTime hostingvalidtill; public int APICallId { get { return apicallid; } set { apicallid = value; } } public string ClientCode { get { return clientcode; } set { clientcode = value; } } public string ClientName { get { return clientname; } set { clientname = value; } } public List LicenseDTOs { get { return licensedtos; } set { licensedtos = value; } } public string DatabaseName { get { return databasename; } set { databasename = value; } } public string UserCode { get { return usercode; } set { usercode = value; } } public string MailId { get { return mailid; } set { mailid = value; } } public string MobileNumber { get { return mobilenumber; } set { mobilenumber = value; } } public int NumberofWebLicense { get { return numeberofweblicence; } set { numeberofweblicence = value; } } public int NumberofMobileLicense { get { return numberofmobilelicense; } set { numberofmobilelicense = value; } } public virtual DateTime LicenseValidTill { get { return licensevalidtill; } set { licensevalidtill = value; } } public virtual DateTime SupportValidTill { get { return supportvalidtill; } set { supportvalidtill = value; } } public virtual DateTime HostingValidTill { get { return hostingvalidtill; } set { hostingvalidtill = value; } } } public class LicenseDTO { private int slno; private int linkmenusetid; private int numeberofweblicence; private int numberofmobilelicense; private DateTime licensevalidtill; private DateTime supportvalidtill; private DateTime hostingvalidtill; public virtual int SlNo { get { return slno; } set { slno = value; } } public int LinkMenuSetId { get { return linkmenusetid; } set { linkmenusetid = value; } } public int NumberofWebLicense { get { return numeberofweblicence; } set { numeberofweblicence = value; } } public int NumberofMobileLicense { get { return numberofmobilelicense; } set { numberofmobilelicense = value; } } public virtual DateTime LicenseValidTill { get { return licensevalidtill; } set { licensevalidtill = value; } } public virtual DateTime SupportValidTill { get { return supportvalidtill; } set { supportvalidtill = value; } } public virtual DateTime HostingValidTill { get { return hostingvalidtill; } set { hostingvalidtill = value; } } } public class AsycnhSelfProvisionDTO { private SelfProvisionDTO selfprovisiondto; private LoginDTO logindto; private int clientid; private int apicallid; public SelfProvisionDTO SelfProvisionDTO { get { return selfprovisiondto; } set { selfprovisiondto = value; } } public LoginDTO LoginDTO { get { return logindto; } set { logindto = value; } } public int ClientId { get { return clientid; } set { clientid = value; } } public int ApiCallId { get { return apicallid; } set { apicallid = value; } } } }