yavsc/Yavsc.Api/Model/Market/Service.cs

26 lines
686 B
C#
Raw Normal View History

2016-05-17 18:22:18 +02:00
2016-06-14 03:37:57 +02:00
namespace Yavsc.Models.Market {
2016-05-17 18:22:18 +02:00
using System.ComponentModel.DataAnnotations.Schema;
public enum BillingMode { 
Unitary,
SetPrice,
ByExecutionTime
}
public partial class Service : BaseProduct
{
public string ContextId { get; set; }
[ForeignKey("ContextId")]
public virtual Activity Context { get; set; }
public BillingMode? Billing { get; set; }
// TODO public ServiceSpecification Specification { get; set; }
/// <summary>
/// In euro, either by hour or by release
/// </summary>
/// <returns></returns>
public decimal? Pricing { get; set; }
2016-05-17 18:22:18 +02:00
}
}