7.2 Starting the Domain Model; e.g. 7.3
This commit is contained in:
parent
044acfc13e
commit
c10e333246
17
SportsStore/SportsStore.Domain/Entities/Product.cs
Normal file
17
SportsStore/SportsStore.Domain/Entities/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 SportsStore.Domain.Entities
|
||||||
|
{
|
||||||
|
class Product
|
||||||
|
{
|
||||||
|
public int ProductID { get; set; }
|
||||||
|
public string Name { get; set; }
|
||||||
|
public string Description { get; set; }
|
||||||
|
public decimal Price { get; set; }
|
||||||
|
public string Category { get; set; }
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user