Skip to content

Commit

Permalink
Adding product entity. related #2
Browse files Browse the repository at this point in the history
  • Loading branch information
lscoder committed Aug 17, 2011
1 parent 5b643c1 commit 3780725
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions src/PetStore.Core/DomainObjects/Foundation/Product.cs
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
}
}

0 comments on commit 3780725

Please sign in to comment.