using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FMDAL.DTO.Device { public class DeviceDTO { #region PrivateMembers #region Device private int deviceid; //Id private string devicecode; //Code private string devicename; //Name private string devicefcmtoken; private string devicefcmscope; private string devicedetail; #region DeviceType private int devicetypeid; //Id private string devicetypecode; //Code private string devicetypename; //Name #endregion private byte devicedevicelocationtype; //DeviceLocationType #region Party private int partyid; //Id private string partycode; //Code private string partyname; //Name #endregion #region PartyBranch private int partybranchid; //Id private string partybranchcode; //Code private string partybranchname; //Name private string partybranchshortname; //ShortName #endregion #region PartyBranchLocation private int partybranchlocationid; //Id private string partybranchlocationcode; //Code private string partybranchlocationname; //Name #endregion #region OrganizationUnit private int organizationunitid; //Id private string organizationunitcode; //Code private string organizationunitname; //Name private string organizationunitshortname; //ShortName #endregion private byte devicedeviceusertype; //DeviceUserType #region User private int userid; //Id private string usercode; //Code private string username; //Name #endregion private int deviceusergroupid; //UserGroup Id private string deviceusergroupcode; private string deviceusergroupname; private string devicedeviceuniquedetail; //DeviceUniqueDetail private byte deviceisverified; //IsVerified #endregion #region Base private int devicecreatedbyid; //CreatedById private DateTime devicecreatedon; //CreatedOn private int devicemodifiedbyid; //ModifiedById private DateTime devicemodifiedon; //ModifiedOn #endregion #region Standard private Int16 devicesortorder; //SortOrder private byte devicestatus; //Status private Int16 deviceversion; //Version #endregion #endregion #region PublicMembers #region Device public int DeviceId { get { return deviceid; } //Id set { deviceid = value; } //Id } public string DeviceCode { get { return devicecode; } //Code set { devicecode = value; } //Code } public string DeviceName { get { return devicename; } //Name set { devicename = value; } //Name } public string DeviceFCMToken { get { return devicefcmtoken; } set { devicefcmtoken = value; } } public string DeviceFCMScope { get { return devicefcmscope; } set { devicefcmscope = value; } } public string DeviceDetail { get { return devicedetail; } set { devicedetail = value; } } #region DeviceType public int DeviceTypeId { get { return devicetypeid; } //Id set { devicetypeid = value; } //Id } public string DeviceTypeCode { get { return devicetypecode; } //Code set { devicetypecode = value; } //Code } public string DeviceTypeName { get { return devicetypename; } //Name set { devicetypename = value; } //Name } #endregion public byte DeviceDeviceLocationType { get { return devicedevicelocationtype; } //DeviceLocationType set { devicedevicelocationtype = value; } //DeviceLocationType } #region Party public int PartyId { get { return partyid; } //Id set { partyid = value; } //Id } public string PartyCode { get { return partycode; } //Code set { partycode = value; } //Code } public string PartyName { get { return partyname; } //Name set { partyname = value; } //Name } #endregion #region PartyBranch public int PartyBranchId { get { return partybranchid; } //Id set { partybranchid = value; } //Id } public string PartyBranchCode { get { return partybranchcode; } //Code set { partybranchcode = value; } //Code } public string PartyBranchName { get { return partybranchname; } //Name set { partybranchname = value; } //Name } public string PartyBranchShortName { get { return partybranchshortname; } //ShortName set { partybranchshortname = value; } //ShortName } #endregion #region PartyBranchLocation public int PartyBranchLocationId { get { return partybranchlocationid; } //Id set { partybranchlocationid = value; } //Id } public string PartyBranchLocationCode { get { return partybranchlocationcode; } //Code set { partybranchlocationcode = value; } //Code } public string PartyBranchLocationName { get { return partybranchlocationname; } //Name set { partybranchlocationname = value; } //Name } #endregion #region OrganizationUnit public int OrganizationUnitId { get { return organizationunitid; } //Id set { organizationunitid = value; } //Id } public string OrganizationUnitCode { get { return organizationunitcode; } //Code set { organizationunitcode = value; } //Code } public string OrganizationUnitName { get { return organizationunitname; } //Name set { organizationunitname = value; } //Name } public string OrganizationUnitShortName { get { return organizationunitshortname; } //ShortName set { organizationunitshortname = value; } //ShortName } #endregion public byte DeviceDeviceUserType { get { return devicedeviceusertype; } //DeviceUserType set { devicedeviceusertype = value; } //DeviceUserType } #region User public int UserId { get { return userid; } //Id set { userid = value; } //Id } public string UserCode { get { return usercode; } //Code set { usercode = value; } //Code } public string UserName { get { return username; } //Name set { username = value; } //Name } #endregion public int DeviceUserGroupId { get { return deviceusergroupid; } //UserGroup Id set { deviceusergroupid = value; } //UserGroup Id } public string DeviceUserGroupCode { get { return deviceusergroupcode; } //UserGroup Id set { deviceusergroupcode = value; } //UserGroup Id } public string DeviceUserGroupName { get { return deviceusergroupname; } //UserGroup Id set { deviceusergroupname = value; } //UserGroup Id } public string DeviceDeviceUniqueDetail { get { return devicedeviceuniquedetail; } //DeviceUniqueDetail set { devicedeviceuniquedetail = value; } //DeviceUniqueDetail } public byte DeviceIsVerified { get { return deviceisverified; } //IsVerified set { deviceisverified = value; } //IsVerified } #endregion #region Base public int DeviceCreatedById { get { return devicecreatedbyid; } //CreatedById set { devicecreatedbyid = value; } //CreatedById } public DateTime DeviceCreatedOn { get { return devicecreatedon; } //CreatedOn set { devicecreatedon = value; } //CreatedOn } public int DeviceModifiedById { get { return devicemodifiedbyid; } //ModifiedById set { devicemodifiedbyid = value; } //ModifiedById } public DateTime DeviceModifiedOn { get { return devicemodifiedon; } //ModifiedOn set { devicemodifiedon = value; } //ModifiedOn } #endregion #region Standard public Int16 DeviceSortOrder { get { return devicesortorder; } //SortOrder set { devicesortorder = value; } //SortOrder } public byte DeviceStatus { get { return devicestatus; } //Status set { devicestatus = value; } //Status } public Int16 DeviceVersion { get { return deviceversion; } //Version set { deviceversion = value; } //Version } #endregion private string devicemachineip = ""; private Int16 deviceportnumber = 0; public string DeviceMachineIp { get { return devicemachineip; } //DeviceMachineIp set { devicemachineip = value; } //DeviceMachineIp } public Int16 DevicePortNumber { get { return deviceportnumber; } //DevicePortNumber set { deviceportnumber = value; } //DevicePortNumber } #endregion } }