Refactor entities into domain project
This commit is contained in:
17
StockDomain/Product.cs
Normal file
17
StockDomain/Product.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StockDomain
|
||||
{
|
||||
public class Product
|
||||
{
|
||||
public string ProductId { get; set; }
|
||||
public string ProductName { get; set; }
|
||||
public decimal UnitPrice { get; set; }
|
||||
public string Barcode { get; set; }
|
||||
public int UnitsInStock { get; set; }
|
||||
}
|
||||
}
|
||||
7
StockDomain/StockDomain.csproj
Normal file
7
StockDomain/StockDomain.csproj
Normal file
@ -0,0 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
11
StockDomain/StockMember.cs
Normal file
11
StockDomain/StockMember.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
|
||||
namespace StockDomain
|
||||
{
|
||||
class StockMember
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user