in order to build 1.0.5-rc20-alpha5, an alpha6 * moves again the db context from server lib to main assembly, since migrations are not written correctly in these conditions. * fixing dep graph, while moving as must as possible code from Yavsc to Yavsc.Server * impoved topmost Makefile * cleaned the badly desined, ans system redondant "Action" definiton * reoganized some source code file locations
38 lines
929 B
C#
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()
|
|
{
|
|
|
|
}
|
|
}
|
|
} |