using Microsoft.SqlServer.Types; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FrameworkDAL.DTO.Location { public class LocationDTO { #region PrivateMembers #region Location private int locationid; private string locationcode; private string locationname; private string locationremarks; private int locationcalendarid; #endregion #region Base private int locationcreatedbyid; //Created By Person (User Id) private DateTime locationcreatedon; //Created On Date private int locationmodifiedbyid; //Modified By Person (User Id) private DateTime locationmodifiedon; //Modified On Date #endregion #region Standard private Int16 locationsortorder; private byte locationstatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 locationversion; //No Of Times Updated private byte locationsourcetype; //Data From (1.Framework, 2.Devadmin, 3.Impadmin, 4.Admin, 5.User) #endregion private int locationscreenoperationmode = 1; #endregion #region PublicMembers #region Location public int LocationId { get { return locationid; } set { locationid = value; } } public string LocationCode { get { return locationcode; } set { locationcode = value; } } public string LocationName { get { return locationname; } set { locationname = value; } } public string LocationRemarks { get { return locationremarks; } set { locationremarks = value; } } public int LocationCalendarId { get { return locationcalendarid; } set { locationcalendarid = value; } } #endregion #region Base public int LocationCreatedById { get { return locationcreatedbyid; } //Created By Person (User Id) set { locationcreatedbyid = value; } //Created By Person (User Id) } public DateTime LocationCreatedOn { get { return locationcreatedon; } //Created On Date set { locationcreatedon = value; } //Created On Date } public int LocationModifiedById { get { return locationmodifiedbyid; } //Modified By Person (User Id) set { locationmodifiedbyid = value; } } public DateTime LocationModifiedOn { get { return locationmodifiedon; } //Modified On Date set { locationmodifiedon = value; } } #endregion #region Standard public Int16 LocationSortOrder { get { return locationsortorder; } set { locationsortorder = value; } } public byte LocationStatus { get { return locationstatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { locationstatus = value; } } public Int16 LocationVersion { get { return locationversion; } //No Of Times Updated set { locationversion = value; } } public byte LocationSourceType { get { return locationsourcetype; } //Data From (1.Framework, 2.Devadmin, 3.Impadmin, 4.Admin, 5.User) set { locationsourcetype = value; } } #endregion public int LocationScreenOperationMode { get { return locationscreenoperationmode; } set { locationscreenoperationmode = value; } } private string locationgeolocation; private string locationborder; private string locationgeocode = "0,0"; public string LocationGeolocation { get { return locationgeolocation; } //LocationGeolocation set { locationgeolocation = value; } //LocationGeolocation } public string LocationBorder { get { return locationborder; } //LocationBorder set { locationborder = value; } //LocationBorder } public string LocationGeoCode { get { return locationgeocode; } //LocationGeoCode set { locationgeocode = value; } //LocationGeoCode } private byte locationgeodatatype = 0; private byte locationshapetype = 0; private double? locationradius = 50; private string locationbounds; private string locationcoordinates; public byte LocationGeoDataType { get { return locationgeodatatype; } //LocationGeoDataType set { locationgeodatatype = value; } //LocationGeoDataType } public byte LocationShapeType { get { return locationshapetype; } //LocationShapeType set { locationshapetype = value; } //LocationShapeType } public double? LocationRadius { get { return locationradius; } //LocationRadius set { locationradius = value; } //LocationRadius } public string LocationBounds { get { return locationbounds; } //LocationBounds set { locationbounds = value; } //LocationBounds } public string LocationCoordinates { get { return locationcoordinates; } //LocationCoordinates set { locationcoordinates = value; } //LocationCoordinates } #endregion } }