38 lines
929 B
C#
38 lines
929 B
C#
6 years ago
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
using Yavsc.Billing;
|
||
|
using Yavsc.Models.Billing;
|
||
|
using Yavsc.Server.Models.IT.SourceCode;
|
||
|
|
||
|
namespace Yavsc.Server.Models.IT
|
||
|
{
|
||
|
public class Project : NominativeServiceCommand
|
||
|
{
|
||
|
[Key]
|
||
|
public override long Id { get; set ; }
|
||
|
public string OwnerId { get; set; }
|
||
|
|
||
|
public string LocalRepo { get; set; }
|
||
|
|
||
|
[ForeignKey("LocalRepo")]
|
||
|
public virtual GitRepositoryReference Repository { get; set; }
|
||
|
|
||
|
public override List<IBillItem> GetBillItems()
|
||
|
{
|
||
|
throw new System.NotImplementedException();
|
||
|
}
|
||
|
|
||
|
public string Description { get; set; }
|
||
|
|
||
|
public override string GetDescription()
|
||
|
{
|
||
|
return Description;
|
||
|
}
|
||
|
|
||
|
public Project()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|