first commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
using Vizhvizh.Shared.Domain.TypeIds;
|
||||
using Vizhvizh.BuildingBlocks.Domain;
|
||||
|
||||
namespace Vizhvizh.Shared.Domain.Entities;
|
||||
|
||||
public class City : Entity<CityId>
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using Vizhvizh.Shared.Domain.TypeIds;
|
||||
using Vizhvizh.BuildingBlocks.Domain;
|
||||
|
||||
namespace Vizhvizh.Shared.Domain.Entities;
|
||||
|
||||
public class Province : Entity<ProvinceId>
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
using Vizhvizh.BuildingBlocks.Domain;
|
||||
|
||||
namespace Vizhvizh.Shared.Domain.TypeIds;
|
||||
|
||||
public class CityId : TypedIdValueBase<int>
|
||||
{
|
||||
public CityId(int value) : base(value)
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using Vizhvizh.BuildingBlocks.Domain;
|
||||
|
||||
namespace Vizhvizh.Shared.Domain.TypeIds;
|
||||
|
||||
public class ProvinceId : TypedIdValueBase<int>
|
||||
{
|
||||
public ProvinceId(int value) : base(value)
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Exceptions\" />
|
||||
<Folder Include="ValueObjects\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\VichVich.BuildingBlocks.Domain\Vizhvizh.BuildingBlocks.Domain.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user