using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FrameworkDAL.DTO.Base; namespace FrameworkDAL.DTO.Client { public class ClientDTO : WorkFlowBaseDTO { #region PrivateMembers #region Client private int clientid; private string clientcode; private string clientname; private string clientshortname; private byte clientmfaapplicabletype; private int mfatypeid = -1; private string mfatypecode; private string mfatypename; private string clientmfaclientaccountid = ""; private string clientmfaclientsecretkey = ""; private int passwordpolicyid = -1; private string passwordpolicycode; private string passwordpolicyname; #region Base private int clientcreatedbyid; //Created By Person (User Id) private DateTime clientcreatedon; //Created On Date private int clientmodifiedbyid; //Modified By Person (User Id) private DateTime clientmodifiedon; //Modified On Date private string clientcreatedbyname; private string clientmodifiedbyname; #endregion #region Standard private Int16 clientsortorder; private byte clientstatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 clientversion; //No Of Times Updated private byte clientsourcetype; //SourceType #endregion private ClientDetailDTO clientdetaildto; #endregion #endregion #region PublicMembers #region Client public int ClientId { get { return clientid; } set { clientid = value; } } public string ClientCode { get { return clientcode; } set { clientcode = value; } } public string ClientName { get { return clientname; } set { clientname = value; } } public string ClientShortName { get { return clientshortname; } set { clientshortname = value; } } public byte ClientMFAApplicableType { get { return clientmfaapplicabletype; } set { clientmfaapplicabletype = value; } } public int MFATypeId { get { return mfatypeid; } set { mfatypeid = value; } } public string MFATypeCode { get { return mfatypecode; } set { mfatypecode = value; } } public string MFATypeName { get { return mfatypename; } set { mfatypename = value; } } public string ClientMFAClientAccountId { get { return clientmfaclientaccountid; } set { clientmfaclientaccountid = value; } } public string ClientMFAClientSecretKey { get { return clientmfaclientsecretkey; } set { clientmfaclientsecretkey = value; } } public int PasswordPolicyId { get { return passwordpolicyid; } set { passwordpolicyid = value; } } public string PasswordPolicyCode { get { return passwordpolicycode; } set { passwordpolicycode = value; } } public string PasswordPolicyName { get { return passwordpolicyname; } set { passwordpolicyname = value; } } #endregion #region Base public int ClientCreatedById { get { return clientcreatedbyid; } //Created By Person (User Id) set { clientcreatedbyid = value; } //Created By Person (User Id) } public DateTime ClientCreatedOn { get { return clientcreatedon; } //Created On Date set { clientcreatedon = value; } //Created On Date } public int ClientModifiedById { get { return clientmodifiedbyid; } //Modified By Person (User Id) set { clientmodifiedbyid = value; } } public DateTime ClientModifiedOn { get { return clientmodifiedon; } //Modified On Date set { clientmodifiedon = value; } } public string ClientCreatedByName { get { return clientcreatedbyname; } //GcmTypeCreatedByName set { clientcreatedbyname = value; } //GcmTypeCreatedByName } public string ClientModifiedByName { get { return clientmodifiedbyname; } //GcmTypeModifiedByName set { clientmodifiedbyname = value; } //GcmTypeModifiedByName } #endregion #region Standard public Int16 ClientSortOrder { get { return clientsortorder; } set { clientsortorder = value; } } public byte ClientStatus { get { return clientstatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { clientstatus = value; } } public Int16 ClientVersion { get { return clientversion; } //No Of Times Updated set { clientversion = value; } } public byte ClientSourceType { get { return clientsourcetype; } //SourceType set { clientsourcetype = value; } //SourceType } #endregion public ClientDetailDTO ClientDetailDTO { get { return clientdetaildto; } set { clientdetaildto = value; } } #endregion } }