yavsc/yavscModel/WorkFlow/Writting.cs

45 lines
1.1 KiB
C#
Raw Normal View History

2014-07-16 20:35:03 +02:00
using System;
2014-10-20 07:23:44 +02:00
using System.ComponentModel.DataAnnotations;
2014-07-16 20:35:03 +02:00
2014-10-06 04:58:47 +02:00
namespace Yavsc.Model.WorkFlow
2014-07-16 20:35:03 +02:00
{
2014-10-20 07:23:44 +02:00
/// <summary>
/// A Writting.
/// Une ligne d'écriture dans un devis ou une facture
/// </summary>
[Serializable]
2014-07-16 20:35:03 +02:00
public class Writting
{
2014-10-20 07:23:44 +02:00
/// <summary>
/// Gets or sets the identifier.
/// </summary>
/// <value>The identifier.</value>
public long Id { get; set; }
2014-10-20 07:23:44 +02:00
/// <summary>
/// Gets or sets the unitary cost, per unit, or per hour ...
/// Who knows?
/// </summary>
/// <value>The unitary cost.</value>
[Required()]
2014-07-16 20:35:03 +02:00
public decimal UnitaryCost { get; set; }
2014-10-20 07:23:44 +02:00
/// <summary>
/// Gets or sets the count.
/// </summary>
/// <value>The count.</value>
[Required()]
2014-07-16 20:35:03 +02:00
public int Count { get; set; }
2014-10-20 07:23:44 +02:00
/// <summary>
/// Gets or sets the product reference.
/// </summary>
/// <value>The product reference.</value>
[Required()]
public string ProductReference { get; set; }
2014-10-20 07:23:44 +02:00
/// <summary>
/// Gets or sets the description.
/// </summary>
/// <value>The description.</value>
[Required()]
2014-07-16 20:35:03 +02:00
public string Description { get; set; }
}
}