Added Invite, Notification and Activity
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
namespace PostFundManagement.Domain.Models;
|
||||
|
||||
public class Activity
|
||||
{
|
||||
public long Id { get; set; }
|
||||
|
||||
public long? ProjectId { get; set; }
|
||||
|
||||
public long? MilestoneId { get; set; }
|
||||
|
||||
public Guid CreatedBy { get; set; }
|
||||
|
||||
public Guid? UpdatedBy { get; set; }
|
||||
|
||||
public Guid? ApprovedBy { get; set; }
|
||||
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
public DateTime? UpdatedAt { get; set; }
|
||||
|
||||
public string? Category { get; set; }
|
||||
|
||||
public ApprovalStatus Status { get; set; }
|
||||
|
||||
public decimal Amount { get; set; }
|
||||
|
||||
public string? Title { get; set; }
|
||||
|
||||
public string? Description { get; set; }
|
||||
|
||||
public DateTime? PerformedAt { get; set; }
|
||||
}
|
||||
@@ -6,9 +6,11 @@ public class Evidence
|
||||
|
||||
public long ProjectId { get; set; }
|
||||
|
||||
public long? MilestoneId { get; set; }
|
||||
public long MilestoneId { get; set; }
|
||||
|
||||
public long? IndicatorId { get; set; }
|
||||
public long IndicatorId { get; set; }
|
||||
|
||||
public long ActivityId { get; set; }
|
||||
|
||||
public Guid CreatedBy { get; set; }
|
||||
|
||||
@@ -20,6 +22,8 @@ public class Evidence
|
||||
|
||||
public int Version { get; set; }
|
||||
|
||||
public EvidenceType Type { get; set; }
|
||||
|
||||
public string? DocumentUrl { get; set; }
|
||||
|
||||
public ApprovalStatus Status { get; set; }
|
||||
|
||||
@@ -4,6 +4,8 @@ public class Instrument
|
||||
{
|
||||
public long Id { get; set; }
|
||||
|
||||
public long ProgrammeId { get; set; }
|
||||
|
||||
public string? Code { get; set; }
|
||||
|
||||
public string? Name { get; set; }
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
namespace PostFundManagement.Domain.Models;
|
||||
|
||||
public class Invite
|
||||
{
|
||||
public long Id { get; set; }
|
||||
|
||||
public long OrganisationId { get; set; }
|
||||
|
||||
public long InvitedOrganisationId { get; set; }
|
||||
|
||||
public long AwardId { get; set; }
|
||||
|
||||
public long ContractId { get; set; }
|
||||
|
||||
public Guid Recipient { get; set; }
|
||||
|
||||
public Guid CreatedBy { get; set; }
|
||||
|
||||
public Guid? UpdatedBy { get; set; }
|
||||
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
public DateTime? UpdatedAt { get; set; }
|
||||
}
|
||||
@@ -18,5 +18,9 @@ public class Issue
|
||||
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
public Guid? AssignedTo { get; set; }
|
||||
|
||||
public DateTime? ResolvedAt { get; set; }
|
||||
|
||||
public string? Resolution { get; set; }
|
||||
}
|
||||
@@ -19,4 +19,6 @@ public class Milestone
|
||||
public string? Name { get; set; }
|
||||
|
||||
public ApprovalStatus Status { get; set; }
|
||||
|
||||
public Priority Priority { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
namespace PostFundManagement.Domain.Models;
|
||||
|
||||
public class Notification
|
||||
{
|
||||
public long Id { get; set; }
|
||||
|
||||
public long OrganisationId { get; set; }
|
||||
|
||||
public Guid Recipient { get; set; }
|
||||
|
||||
public NotificationPlatform Platform { get; set; }
|
||||
|
||||
public NotificationStatus Status { get; set; }
|
||||
|
||||
public string? Subject { get; set; }
|
||||
|
||||
public string? Message { get; set; }
|
||||
|
||||
public string? Destination { get; set; }
|
||||
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
public DateTime? SentAt { get; set; }
|
||||
|
||||
public DateTime? UpdatedAt { get; set; }
|
||||
|
||||
public string? Error { get; set; }
|
||||
}
|
||||
@@ -6,8 +6,6 @@ public class Programme
|
||||
|
||||
public long PortfolioId { get; set; }
|
||||
|
||||
public long InstrumentId { get; set; }
|
||||
|
||||
public Guid OwnedBy { get; set; }
|
||||
|
||||
public Guid CreatedBy { get; set; }
|
||||
|
||||
@@ -18,6 +18,10 @@ public class Project
|
||||
|
||||
public DateTime? EndedAt { get; set; }
|
||||
|
||||
public IndustrySector Sector { get; set; }
|
||||
|
||||
public ProjectType ProjectType { get; set; }
|
||||
|
||||
public string? Name { get; set; }
|
||||
|
||||
public string? Description { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user