yavsc/Yavsc.Server/Models/IT/Project.cs

38 lines
929 B
C#

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()
{
}
}
}