using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FrameworkDAL.DTO.User { public class UserSelectedFieldsUpdateDTO { private int userid; private string usercode; private string username; private string userloginname; private DateTime userdob = DateTime.UtcNow; private byte usertype; private DateTime uservalidfrom = DateTime.UtcNow; private DateTime uservalidto = DateTime.UtcNow; private string userprimarymail; private string userprimarymobile; private string userprimaryphone; private string userdefaultcmsid; private Int16 userversion; private int roleid = -1; public int UserId { get { return userid; } set { userid = value; } } public string UserCode { get { return usercode; } set { usercode = value; } } public string UserName { get { return username; } set { username = value; } } public string UserLoginName { get { return userloginname; } set { userloginname = value; } } public DateTime UserDOB { get { return userdob; } set { userdob = value; } } public byte UserType { get { return usertype; } //Type of user - 0. Direct User Created,1. Employee to User,2. Contact to User set { usertype = value; } //Type of user - 0. Direct User Created,1. Employee to User,2. Contact to User } public DateTime UserValidFrom { get { return uservalidfrom; } set { uservalidfrom = value; } } public DateTime UserValidTo { get { return uservalidto; } set { uservalidto = value; } } public string UserPrimaryMail { get { return userprimarymail; } set { userprimarymail = value; } } public string UserPrimaryMobile { get { return userprimarymobile; } set { userprimarymobile = value; } } public string UserPrimaryPhone { get { return userprimaryphone; } set { userprimaryphone = value; } } public string UserDefaultCMSId { get { return userdefaultcmsid; } set { userdefaultcmsid = value; } } public Int16 UserVersion { get { return userversion; } set { userversion = value; } } public int RoleId { get { return roleid; } set { roleid = value; } } } }