WIP billing

This commit is contained in:
Paul Schneider 2016-09-05 19:01:43 +02:00
commit 62e1c49c1f
12 changed files with 1462 additions and 10 deletions

View file

@ -0,0 +1,20 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models.Billing
{
public partial class EstimateTemplate
{
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
public string Description { get; set; }
public string Title { get; set; }
public List<CommandLine> Bill { get; set; }
[Required]
public string OwnerId { get; set; }
}
}

View file

@ -40,7 +40,7 @@ namespace Yavsc.Models.Billing
/// The bill
/// </summary>
/// <returns></returns>
public List<CommandLine> Bill { get; set; }
public List<Service> Bill { get; set; } = new List<Service>();
///<summary>
/// Time span in seconds in which