Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/04/13 14:57:46 (11 years ago)
Author:
spimming
Message:

#1888:

  • Revised model classes
  • Modified relationship definitions according to model types
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OaaS/HeuristicLab.Services.Optimization.Billing/Model/Model.cs

    r9576 r9579  
    8181    public virtual User User { get; set; }
    8282    public virtual Order Order { get; set; }
     83    public virtual IList<InvoiceLine> InvoiceLines { get; set; }
    8384  }
    8485
     
    9798    public long UsageRecordId { get; set; }
    9899    public long UserId { get; set; }
     100    public long ProductId { get; set; }
     101    public DateTime Begin { get; set; }
     102    public DateTime End { get; set; }
     103    public int ServiceIdentifier { get; set; }
     104    public int ResourceIdentifier { get; set; }
    99105
    100106    public virtual User User { get; set; }
    101     public virtual IList<UsageRecordLine> UsageRecordLines { get; set; }
    102   }
    103 
    104   public class UsageRecordLine {
    105     public long UsageRecordLineId { get; set; }
    106     public long UsageRecordId { get; set; }
    107     public DateTime Begin { get; set; }
    108     public DateTime End { get; set; }
    109 
    110     public virtual UsageRecord UsageRecord { get; set; }
     107    public virtual Product Product { get; set; }
    111108  }
    112109}
Note: See TracChangeset for help on using the changeset viewer.