using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models
{
public partial class BaseProduct
{
///
/// An unique product identifier.
///
///
[Key(),DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
public string Name { get; set; }
///
/// A contractual description for this product.
///
///
public string Description { get; set; }
///
/// Controls wether this product or service
/// may be offered to clients, or simply
/// are internal workflow entry point.
///
/// true when this product belongs to the public catalog.
public bool Public { get; set; }
}
}