Renaming innermost project to ApplicationCore
This commit is contained in:
11
src/ApplicationCore/ApplicationCore.csproj
Normal file
11
src/ApplicationCore/ApplicationCore.csproj
Normal file
@@ -0,0 +1,11 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard1.4</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Interfaces\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
7
src/ApplicationCore/Entities/BaseEntity.cs
Normal file
7
src/ApplicationCore/Entities/BaseEntity.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Microsoft.eShopWeb.ApplicationCore.Entities
|
||||
{
|
||||
public class BaseEntity
|
||||
{
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
||||
7
src/ApplicationCore/Entities/CatalogBrand.cs
Normal file
7
src/ApplicationCore/Entities/CatalogBrand.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Microsoft.eShopWeb.ApplicationCore.Entities
|
||||
{
|
||||
public class CatalogBrand : BaseEntity
|
||||
{
|
||||
public string Brand { get; set; }
|
||||
}
|
||||
}
|
||||
15
src/ApplicationCore/Entities/CatalogItem.cs
Normal file
15
src/ApplicationCore/Entities/CatalogItem.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Microsoft.eShopWeb.ApplicationCore.Entities
|
||||
{
|
||||
public class CatalogItem : BaseEntity
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
public decimal Price { get; set; }
|
||||
public string PictureUri { get; set; }
|
||||
public int CatalogTypeId { get; set; }
|
||||
public CatalogType CatalogType { get; set; }
|
||||
public int CatalogBrandId { get; set; }
|
||||
public CatalogBrand CatalogBrand { get; set; }
|
||||
public CatalogItem() { }
|
||||
}
|
||||
}
|
||||
7
src/ApplicationCore/Entities/CatalogType.cs
Normal file
7
src/ApplicationCore/Entities/CatalogType.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Microsoft.eShopWeb.ApplicationCore.Entities
|
||||
{
|
||||
public class CatalogType : BaseEntity
|
||||
{
|
||||
public string Type { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user