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>
|
2014-10-25 23:54:19 +02:00
|
|
|
[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>
|
2014-09-24 16:19:23 +02:00
|
|
|
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()]
|
2014-10-17 02:10:00 +02:00
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|