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
24 lines
596 B
C#
24 lines
596 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Yavsc.Models;
|
|
|
|
namespace Yavsc.Server.Models.IT.SourceCode
|
|
{
|
|
public class GitRepositoryReference
|
|
{
|
|
[Key]
|
|
public string Path { get; set; }
|
|
|
|
[StringLength(2048)]
|
|
public string Url { get; set; }
|
|
|
|
[StringLength(512)]
|
|
public string Branch { get; set; }
|
|
|
|
[StringLength(1024)]
|
|
public string OwnerId { get; set; }
|
|
|
|
[ForeignKey("OwnerId")]
|
|
public virtual ApplicationUser Owner { get; set; }
|
|
}
|
|
} |