Added award entity
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
namespace PostFundManagement.Domain.Entities;
|
||||
|
||||
[EntityTypeConfiguration<Configuration.Award, Award>]
|
||||
public class Award : Models.Award
|
||||
{
|
||||
public virtual User? Creator { get; set; }
|
||||
|
||||
public virtual User? Updator { get; set; }
|
||||
|
||||
public virtual User? Approver { get; set; }
|
||||
|
||||
public virtual Organisation? Organisation { get; set; }
|
||||
|
||||
public virtual Programme? Programme { get; set; }
|
||||
|
||||
public virtual Project? Project { get; set; }
|
||||
}
|
||||
@@ -14,4 +14,6 @@ public class Programme : Models.Programme
|
||||
public virtual ICollection<Rule> Rules { get; set; } = [];
|
||||
|
||||
public virtual ICollection<Project> Projects { get; set; } = [];
|
||||
|
||||
public virtual ICollection<Award> Awards { get; set; } = [];
|
||||
}
|
||||
@@ -8,4 +8,6 @@ public class Project : Models.Project
|
||||
public virtual User? Updator { get; set; }
|
||||
|
||||
public virtual Programme? Programme { get; set; }
|
||||
|
||||
public virtual ICollection<Award> Awards { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user