using System; using System.ComponentModel.DataAnnotations; namespace Yavsc.Model.WorkFlow { /// /// A Writting. /// Une ligne d'écriture dans un devis ou une facture /// [Serializable] public class Writting { /// /// Gets or sets the identifier. /// /// The identifier. public long Id { get; set; } /// /// Gets or sets the unitary cost, per unit, or per hour ... /// Who knows? /// /// The unitary cost. [Required()] public decimal UnitaryCost { get; set; } /// /// Gets or sets the count. /// /// The count. [Required()] public int Count { get; set; } /// /// Gets or sets the product reference. /// /// The product reference. [Required()] public string ProductReference { get; set; } /// /// Gets or sets the description. /// /// The description. [Required()] public string Description { get; set; } } }