using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.SqlServer.Types; namespace FrameworkDAL.DTO.City { public class CityDTO { #region City private int cityid; //Id private string citycode; //Code private string cityname; //Name #region Company private int countryid; private string countrycode; private string countryname; #endregion #region State private int stateid; //Id private string statecode; //Code private string statename; //Name private string statetinstart; //Name #endregion #endregion #region Base private int citycreatedbyid; //CreatedById private DateTime citycreatedon; //CreatedOn private string citycreatedbyname; //CreatedByName private int citymodifiedbyid; //ModifiedById private DateTime citymodifiedon; //ModifiedOn private string citymodifiedbyname; //ModifiedByName #endregion #region Standard private Int16 citysortorder; //SortOrder private byte citystatus; //Status private Int16 cityversion; //Version private byte citysourcetype; //SourceType #endregion public string stdcode; private int cityclassid = -1; private string cityclasscode; private string cityclassname; #region PublicMembers #region City public int CityId { get { return cityid; } //Id set { cityid = value; } //Id } public string CityCode { get { return citycode; } //Code set { citycode = value; } //Code } public string CityName { get { return cityname; } //Name set { cityname = value; } //Name } public int CountryId { get { return countryid; } //Country set { countryid = value; } //Country } public string CountryCode { get { return countrycode; } //Country set { countrycode = value; } //Country } public string CountryName { get { return countryname; } //Country set { countryname = value; } //Country } #endregion #region State public int StateId { get { return stateid; } //Id set { stateid = value; } } public string StateCode { get { return statecode; } //Code set { statecode = value; } } public string StateName { get { return statename; } //Name set { statename = value; } } public string StateTINStart { get { return statetinstart; } //Name set { statetinstart = value; } } #endregion #endregion #region Base public int CityCreatedById { get { return citycreatedbyid; } //CreatedById set { citycreatedbyid = value; } //CreatedById } public DateTime CityCreatedOn { get { return citycreatedon; } //CreatedOn set { citycreatedon = value; } //CreatedOn } public string CityCreatedByName { get { return citycreatedbyname; } //CreatedByName set { citycreatedbyname = value; } //CreatedByName } public int CityModifiedById { get { return citymodifiedbyid; } //ModifiedById set { citymodifiedbyid = value; } //ModifiedById } public DateTime CityModifiedOn { get { return citymodifiedon; } //ModifiedOn set { citymodifiedon = value; } //ModifiedOn } public string CityModifiedByName { get { return citymodifiedbyname; } //ModifiedByName set { citymodifiedbyname = value; } //ModifiedByName } #endregion #region Standard public Int16 CitySortOrder { get { return citysortorder; } //SortOrder set { citysortorder = value; } //SortOrder } public byte CityStatus { get { return citystatus; } //Status set { citystatus = value; } //Status } public Int16 CityVersion { get { return cityversion; } //Version set { cityversion = value; } //Version } public byte CitySourceType { get { return citysourcetype; } //SourceType set { citysourcetype = value; } //SourceType } #endregion private string trafficremarks = ""; public string TrafficRemarks { get { return trafficremarks; } //TrafficRemarks set { trafficremarks = value; } //TrafficRemarks } private SqlGeography citygeolocation; private SqlGeography cityborder; public SqlGeography CityGeolocation { get { return citygeolocation; } //CityGeolocation set { citygeolocation = value; } //CityGeolocation } public SqlGeography CityBorder { get { return cityborder; } //CityBorder set { cityborder = value; } //CityBorder } public string StdCode { get { return stdcode; } set { stdcode = value; } } private int tenantid; public int TenantId { get { return tenantid; } set { tenantid = value; } } public int CityClassId //cityclassid { get { return cityclassid; } set { cityclassid = value; } } public string CityClassCode { get { return cityclasscode; } set { cityclasscode = value; } } public string CityClassName { get { return cityclassname; } set { cityclassname = value; } } } }