City düzenlemesi
This commit is contained in:
parent
f9efd0a145
commit
d2e0c07a19
6 changed files with 4513 additions and 6008 deletions
|
|
@ -137,7 +137,7 @@ public static class LookupQueryValues
|
|||
|
||||
public static string CityValues =
|
||||
$"SELECT " +
|
||||
$"\"Id\" AS \"Key\", " +
|
||||
$"\"Name\" AS \"Key\", " +
|
||||
$"\"Name\" AS \"Name\" " +
|
||||
$"FROM \"{FullNameTable(TableNameEnum.City)}\" " +
|
||||
$"WHERE " +
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ using Volo.Abp.Application.Dtos;
|
|||
|
||||
namespace Erp.Platform.Public;
|
||||
|
||||
public class CityDto : AuditedEntityDto<string>
|
||||
public class CityDto : AuditedEntityDto<Guid>
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string PlateCode { get; set; }
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -153,7 +153,7 @@ public class HostDataSeeder : IDataSeedContributor, ITransientDependency
|
|||
private readonly IRepository<Currency, string> _currencyRepository;
|
||||
private readonly IRepository<CountryGroup, string> _countryGroupRepository;
|
||||
private readonly IRepository<Country, string> _countryRepository;
|
||||
private readonly IRepository<City, string> _cityRepository;
|
||||
private readonly IRepository<City, Guid> _cityRepository;
|
||||
private readonly IRepository<District, Guid> _districtRepository;
|
||||
private readonly IRepository<ContactTag, Guid> _contactTagRepository;
|
||||
private readonly IRepository<ContactTitle, Guid> _contactTitleRepository;
|
||||
|
|
@ -173,7 +173,7 @@ public class HostDataSeeder : IDataSeedContributor, ITransientDependency
|
|||
IRepository<Currency, string> currencyRepository,
|
||||
IRepository<CountryGroup, string> countryGroupRepository,
|
||||
IRepository<Country, string> countryRepository,
|
||||
IRepository<City, string> cityRepository,
|
||||
IRepository<City, Guid> cityRepository,
|
||||
IRepository<District, Guid> districtRepository,
|
||||
IRepository<ContactTag, Guid> contactTagRepository,
|
||||
IRepository<ContactTitle, Guid> contactTitleRepository,
|
||||
|
|
@ -350,7 +350,7 @@ public class HostDataSeeder : IDataSeedContributor, ITransientDependency
|
|||
if (existingSet.Contains(key)) continue; // duplicate kontrolü
|
||||
|
||||
buffer.Add(new City(
|
||||
item.Id,
|
||||
Guid.NewGuid(),
|
||||
item.Country,
|
||||
item.Name,
|
||||
item.PlateCode
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Volo.Abp.Domain.Entities.Auditing;
|
||||
|
||||
namespace Erp.Platform.Entities;
|
||||
|
||||
public class City : FullAuditedEntity<string>
|
||||
public class City : FullAuditedEntity<Guid>
|
||||
{
|
||||
public string Country { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
|
@ -13,7 +14,7 @@ public class City : FullAuditedEntity<string>
|
|||
|
||||
protected City() { }
|
||||
|
||||
public City(string id, string country, string name, string plateCode)
|
||||
public City(Guid id, string country, string name, string plateCode)
|
||||
: base(id)
|
||||
{
|
||||
Country = country;
|
||||
|
|
|
|||
|
|
@ -2829,7 +2829,7 @@
|
|||
"gender": "Male",
|
||||
"maritalStatus": "Married",
|
||||
"country": "Türkiye",
|
||||
"city": "TR.34",
|
||||
"city": "İstanbul",
|
||||
"district": "Ümraniye",
|
||||
"township": "Esenşehir",
|
||||
"postalCode": "34771",
|
||||
|
|
@ -2869,7 +2869,7 @@
|
|||
"gender": "Female",
|
||||
"maritalStatus": "Single",
|
||||
"country": "Türkiye",
|
||||
"city": "TR.06",
|
||||
"city": "Ankara",
|
||||
"district": "Güdül",
|
||||
"township": "Güdül",
|
||||
"postalCode": "6840",
|
||||
|
|
@ -2909,7 +2909,7 @@
|
|||
"gender": "Male",
|
||||
"maritalStatus": "Married",
|
||||
"country": "Türkiye",
|
||||
"city": "TR.11",
|
||||
"city": "Bilecik",
|
||||
"district": "Merkez",
|
||||
"township": "Merkezköyler",
|
||||
"postalCode": "34000",
|
||||
|
|
@ -2989,7 +2989,7 @@
|
|||
"gender": "Male",
|
||||
"maritalStatus": "Married",
|
||||
"country": "Türkiye",
|
||||
"city": "TR.34",
|
||||
"city": "İstanbul",
|
||||
"district": "Kadıköy",
|
||||
"township": "Bostancı",
|
||||
"postalCode": "34728",
|
||||
|
|
@ -3029,7 +3029,7 @@
|
|||
"gender": "Female",
|
||||
"maritalStatus": "Single",
|
||||
"country": "Türkiye",
|
||||
"city": "TR.35",
|
||||
"city": "İzmir",
|
||||
"district": "Kemalpaşa",
|
||||
"township": "Ören",
|
||||
"postalCode": "35000",
|
||||
|
|
@ -3069,7 +3069,7 @@
|
|||
"gender": "Male",
|
||||
"maritalStatus": "Married",
|
||||
"country": "Türkiye",
|
||||
"city": "TR.06",
|
||||
"city": "Ankara",
|
||||
"district": "Altındağ",
|
||||
"township": "Telsizler",
|
||||
"postalCode": "16000",
|
||||
|
|
@ -3109,7 +3109,7 @@
|
|||
"gender": "Female",
|
||||
"maritalStatus": "Married",
|
||||
"country": "Türkiye",
|
||||
"city": "TR.11",
|
||||
"city": "Bilecik",
|
||||
"district": "Osmaneli",
|
||||
"township": "Merkezköyler",
|
||||
"postalCode": "35220",
|
||||
|
|
@ -3149,7 +3149,7 @@
|
|||
"gender": "Female",
|
||||
"maritalStatus": "Single",
|
||||
"country": "Türkiye",
|
||||
"city": "TR.45",
|
||||
"city": "Manisa",
|
||||
"district": "Demirci",
|
||||
"township": "Durhasan",
|
||||
"postalCode": "06490",
|
||||
|
|
@ -3189,7 +3189,7 @@
|
|||
"gender": "Male",
|
||||
"maritalStatus": "Married",
|
||||
"country": "Türkiye",
|
||||
"city": "TR.34",
|
||||
"city": "İstanbul",
|
||||
"district": "Beykoz",
|
||||
"township": "Polonezköy",
|
||||
"postalCode": "34360",
|
||||
|
|
@ -4440,7 +4440,7 @@
|
|||
"TaxNumber": 1234567890,
|
||||
"TaxOffice": "İstanbul Vergi Dairesi",
|
||||
"country": "Türkiye",
|
||||
"City": "TR.34",
|
||||
"city": "İstanbul",
|
||||
"District": "Beykoz",
|
||||
"Township": "Çubuklu",
|
||||
"Address1": null,
|
||||
|
|
@ -4478,7 +4478,7 @@
|
|||
"TaxNumber": 987654321,
|
||||
"TaxOffice": null,
|
||||
"country": "Türkiye",
|
||||
"City": "TR.34",
|
||||
"city": "İstanbul",
|
||||
"District": "Çekmeköy",
|
||||
"Township": "Taşdelen",
|
||||
"Address1": null,
|
||||
|
|
@ -4516,7 +4516,7 @@
|
|||
"TaxNumber": 1122334455,
|
||||
"TaxOffice": null,
|
||||
"country": "Türkiye",
|
||||
"City": "TR.34",
|
||||
"city": "İstanbul",
|
||||
"District": "Eyüp",
|
||||
"Township": "Rami",
|
||||
"Address1": null,
|
||||
|
|
@ -4554,7 +4554,7 @@
|
|||
"TaxNumber": 6677889900,
|
||||
"TaxOffice": null,
|
||||
"country": "Türkiye",
|
||||
"City": "TR.06",
|
||||
"city": "Ankara",
|
||||
"District": "Kızılcahamam",
|
||||
"Township": "Kızılcahamam",
|
||||
"Address1": null,
|
||||
|
|
@ -4592,7 +4592,7 @@
|
|||
"TaxNumber": 987654321,
|
||||
"TaxOffice": null,
|
||||
"country": "Türkiye",
|
||||
"City": "TR.06",
|
||||
"city": "Ankara",
|
||||
"District": "Yenimahalle",
|
||||
"Township": "Ostim",
|
||||
"Address1": null,
|
||||
|
|
@ -4630,7 +4630,7 @@
|
|||
"TaxNumber": 1234567890,
|
||||
"TaxOffice": null,
|
||||
"country": "Türkiye",
|
||||
"City": "TR.34",
|
||||
"city": "İstanbul",
|
||||
"District": "Beyoğlu",
|
||||
"Township": "Cihangir",
|
||||
"Address1": null,
|
||||
|
|
|
|||
Loading…
Reference in a new issue