-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
namespace PetStore.Core.DomainObjects.Foundation | ||
{ | ||
/// <summary> | ||
/// Entidade que representa um produto | ||
/// </summary> | ||
public class Product | ||
{ | ||
#region Public Properties | ||
|
||
/// <summary> | ||
/// Id único do produto | ||
/// </summary> | ||
public int Id { get; set; } | ||
|
||
/// <summary> | ||
/// Categoria do produto | ||
/// </summary> | ||
public Category Category { get; set; } | ||
|
||
/// <summary> | ||
/// Nome do produto | ||
/// </summary> | ||
public string Name { get; set; } | ||
|
||
/// <summary> | ||
/// Descrição do produto | ||
/// </summary> | ||
public string Description { get; set; } | ||
|
||
/// <summary> | ||
/// Caminho da imagem do produto | ||
/// </summary> | ||
public string ImagePath { get; set; } | ||
|
||
#endregion | ||
} | ||
} |