yavsc/yavscModel/WorkFlow/Writting.cs

46 lines
1.1 KiB
C#

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