control projects
This commit is contained in:
@ -19,7 +19,7 @@ namespace Yavsc.Server.Models.IT
|
||||
[Required]
|
||||
public string ProjectName { get; set;}
|
||||
|
||||
[ForeignKey("ProjectName")]
|
||||
[ForeignKey("Name")]
|
||||
public virtual Project TargetProject { get; set; }
|
||||
|
||||
}
|
||||
@ -33,8 +33,6 @@ namespace Yavsc.Server.Models.IT
|
||||
public override long Id { get; set ; }
|
||||
public string OwnerId { get; set; }
|
||||
|
||||
public string LocalRepo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// This field is something like a key,
|
||||
/// since it is required non null,
|
||||
@ -65,8 +63,6 @@ namespace Yavsc.Server.Models.IT
|
||||
return bill;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public string Description { get; set; }
|
||||
|
||||
public override string GetDescription()
|
||||
|
Reference in New Issue
Block a user