using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace PayRollDAL.DTO.Address { public class LocationAddressDTO { #region Party & General Details [JsonProperty("PartyCode")] public string PartyCode { get; set; } = "NONE"; [JsonProperty("PartyName")] public string PartyName { get; set; } = "NONE"; [JsonProperty("PartyBranchCode")] public string PartyBranchCode { get; set; } = "NONE"; [JsonProperty("PartyBranchName")] public string PartyBranchName { get; set; } = "NONE"; #endregion #region Address Identifiers & Types [JsonProperty("AddressId")] public long AddressId { get; set; } [JsonProperty("AddressObjectTypeId")] public long AddressObjectTypeId { get; set; } [JsonProperty("AddressObjectId")] public long AddressObjectId { get; set; } [JsonProperty("AddressAddressType")] public byte AddressAddressType { get; set; } [JsonProperty("AddressAddressNature")] public byte AddressAddressNature { get; set; } #endregion #region Address Lines & Regional Details [JsonProperty("AddressLine1")] public string AddressLine1 { get; set; } [JsonProperty("AddressLine2")] public string AddressLine2 { get; set; } [JsonProperty("AddressLine3")] public string AddressLine3 { get; set; } [JsonProperty("AddressLine4")] public string AddressLine4 { get; set; } [JsonProperty("AddressLine5")] public string AddressLine5 { get; set; } [JsonProperty("AddressZipCode")] public string AddressZipCode { get; set; } [JsonProperty("CityId")] public long CityId { get; set; } [JsonProperty("CityCode")] public string CityCode { get; set; } [JsonProperty("CityName")] public string CityName { get; set; } [JsonProperty("StateId")] public long StateId { get; set; } [JsonProperty("StateCode")] public string StateCode { get; set; } [JsonProperty("StateName")] public string StateName { get; set; } [JsonProperty("StateGSTStateCode")] public string StateGSTStateCode { get; set; } [JsonProperty("StateTINStart")] public string StateTINStart { get; set; } [JsonProperty("CountryId")] public long CountryId { get; set; } [JsonProperty("CountryCode")] public string CountryCode { get; set; } [JsonProperty("CountryName")] public string CountryName { get; set; } [JsonProperty("CountryISDCode")] public string CountryISDCode { get; set; } [JsonProperty("StandardRegionId")] public long StandardRegionId { get; set; } = -1; [JsonProperty("StandardRegionCode")] public string StandardRegionCode { get; set; } = "NONE"; [JsonProperty("StandardRegionName")] public string StandardRegionName { get; set; } = "NONE"; [JsonProperty("LocationId")] public long LocationId { get; set; } = -1; [JsonProperty("LocationCode")] public string LocationCode { get; set; } = "NONE"; [JsonProperty("LocationName")] public string LocationName { get; set; } = "NONE"; [JsonProperty("ObjectTypeName")] public string ObjectTypeName { get; set; } #endregion #region Communication & Contact Info [JsonProperty("AddressPhone")] public string AddressPhone { get; set; } [JsonProperty("AddressMobile")] public string AddressMobile { get; set; } [JsonProperty("AddressFax")] public string AddressFax { get; set; } [JsonProperty("AddressWeb")] public string AddressWeb { get; set; } [JsonProperty("AddressMail")] public string AddressMail { get; set; } [JsonProperty("PartyMail")] public string PartyMail { get; set; } [JsonProperty("AgentMail")] public string AgentMail { get; set; } [JsonProperty("PartyContactMails")] public string PartyContactMails { get; set; } #endregion #region Tax & Statutory Information [JsonProperty("AddressGSTIn")] public string AddressGSTIn { get; set; } [JsonProperty("AddressPAN")] public string AddressPAN { get; set; } [JsonProperty("AddressTAN")] public string AddressTAN { get; set; } [JsonProperty("AddressVATTINNumber")] public string AddressVATTINNumber { get; set; } [JsonProperty("AddressVATCSTNumber")] public string AddressVATCSTNumber { get; set; } [JsonProperty("AddressServiceTaxNumber")] public string AddressServiceTaxNumber { get; set; } [JsonProperty("AddressExciseDivision")] public string AddressExciseDivision { get; set; } [JsonProperty("AddressExciseRange")] public string AddressExciseRange { get; set; } [JsonProperty("AddressExciseCodeNumber")] public string AddressExciseCodeNumber { get; set; } [JsonProperty("AddressExciseNotification")] public string AddressExciseNotification { get; set; } [JsonProperty("AddressExciseCircle")] public string AddressExciseCircle { get; set; } [JsonProperty("AddressExciseCollectrate")] public string AddressExciseCollectrate { get; set; } [JsonProperty("AddressExciseRegisterNumber")] public string AddressExciseRegisterNumber { get; set; } [JsonProperty("AddressTDSCircle")] public string AddressTDSCircle { get; set; } #endregion #region Geolocation & Mapping [JsonProperty("AddressGeoCode")] public string AddressGeoCode { get; set; } = "0,0"; [JsonProperty("AddressGeolocation")] public string AddressGeolocation { get; set; } [JsonProperty("AddressBorder")] public string AddressBorder { get; set; } #endregion #region Audit, Flags & Standard Fields [JsonProperty("UpdateShippingAddress")] public int UpdateShippingAddress { get; set; } = 1; [JsonProperty("TempPartyId")] public long TempPartyId { get; set; } = -1; [JsonProperty("TempPartyProductId")] public long TempPartyProductId { get; set; } = -1; [JsonProperty("AddressCreatedById")] public long AddressCreatedById { get; set; } = -1; [JsonProperty("AddressCreatedOn")] public string AddressCreatedOn { get; set; } [JsonProperty("AddressModifiedById")] public long AddressModifiedById { get; set; } = -1900000000; [JsonProperty("AddressModifiedOn")] public string AddressModifiedOn { get; set; } [JsonProperty("AddressSortOrder")] public short AddressSortOrder { get; set; } = 0; [JsonProperty("AddressVersion")] public short AddressVersion { get; set; } = 1; [JsonProperty("AddressSourceType")] public byte AddressSourceType { get; set; } = 5; // 1.Framework, 2.Devadmin, 3.Impadmin, 4.Admin, 5.User [JsonProperty("AddressStatus")] public byte AddressStatus { get; set; } = 1; // 0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived #endregion } }