Refactor entities into domain project

This commit is contained in:
2021-01-09 17:06:51 +01:00
parent 105fe382bb
commit e8780176e5
7 changed files with 34 additions and 4 deletions

17
StockDomain/Product.cs Normal file
View 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; }
}
}

View File

@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace StockDomain
{
class StockMember
{
}
}