using System; using System.Collections.Generic; using System.Linq; using System.Spatial; using System.Text; using Microsoft.SqlServer.Types; using System.Data.SqlTypes; namespace FrameworkDAL.DTO.State { public class StateDTO { #region PrivateMembers #region State private int stateid; //Id private string statecode; //Code private string statename; //Name private string stategststatecode; //Name private string statetinstart; //Name #region country private int countryid; //Id private string countrycode; //Code private string countryname; //Name #endregion #endregion #region Base private int statecreatedbyid; //CreatedById private DateTime? statecreatedon; //CreatedOn private string statecreatedbyname; //CreatedByName private int statemodifiedbyid; //ModifiedById private DateTime? statemodifiedon; //ModifiedOn private string statemodifiedbyname; //ModifiedByName #endregion #region Standard private Int16 statesortorder; //SortOrder private byte statestatus; //Status private Int16 stateversion; //Version private byte statesourcetype; //SourceType #endregion private SqlGeography stategeolocation; private SqlGeography stateborder; #endregion #region PublicMembers #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; } } #region Country public int CountryId { get { return countryid; } //Id set { countryid = value; } //Id } public string CountryCode { get { return countrycode; } //Code set { countrycode = value; } //Code } public string CountryName { get { return countryname; } //Name set { countryname = value; } //Name } #endregion public string StateGSTStateCode { get { return stategststatecode; } //Name set { stategststatecode = value; } } public string StateTINStart { get { return statetinstart; } //Name set { statetinstart = value; } } #endregion #region Base public int StateCreatedById { get { return statecreatedbyid; } //CreatedById set { statecreatedbyid = value; } //CreatedById } public DateTime? StateCreatedOn { get { return statecreatedon; } //CreatedOn set { statecreatedon = value; } //CreatedOn } public string StateCreatedByName { get { return statecreatedbyname; } //CreatedByName set { statecreatedbyname = value; } //CreatedByName } public int StateModifiedById { get { return statemodifiedbyid; } //ModifiedById set { statemodifiedbyid = value; } //ModifiedById } public DateTime? StateModifiedOn { get { return statemodifiedon; } //ModifiedOn set { statemodifiedon = value; } //ModifiedOn } public string StateModifiedByName { get { return statemodifiedbyname; } //ModifiedByName set { statemodifiedbyname = value; } //ModifiedByName } #endregion #region Standard public Int16 StateSortOrder { get { return statesortorder; } //SortOrder set { statesortorder = value; } //SortOrder } public byte StateStatus { get { return statestatus; } //Status set { statestatus = value; } //Status } public Int16 StateVersion { get { return stateversion; } //Version set { stateversion = value; } //Version } public byte StateSourceType { get { return statesourcetype; } //SourceType set { statesourcetype = value; } //SourceType } #endregion public SqlGeography StateGeolocation { get { return stategeolocation; } //StateGeolocation set { stategeolocation = value; } //StateGeolocation } public SqlGeography StateBorder { get { return stateborder; } //StateBorder set { stateborder = value; } //StateBorder } #endregion private string stategeolocationWKL; public string StateGeolocationWKT { get { return stategeolocationWKL; } // Input from JSON //StateBorder set { stategeolocationWKL = value; } } private string stateborderWKT; public string StateBorderWKT { get { return stateborderWKT; } // Input from JSON //StateBorder set { stateborderWKT = value; } } } }