WIP: copy process

This commit is contained in:
Michał Zieliński
2023-09-18 11:29:25 +02:00
parent 5cb362b5e0
commit 716ed532f1
11 changed files with 809 additions and 61 deletions

View File

@@ -30,14 +30,15 @@ namespace WebAPI.Models
#endregion
#region Relations
public ICollection<Record>? Records { get; set; }
public ICollection<ProcessSource>? Sources { get; set; }
[Required]
public Guid CreatedById { get; set; }
public User? CreatedBy { get; set; }
[Required]
public Guid ModifiedById { get; set; }
public User? ModifiedBy { get; set; }
public Guid? parentId { get; set; }
public Layer? parent { get; set; }
public Guid? ParentId { get; set; }
public Layer? Parent { get; set; }
#endregion
}
}

View File

@@ -0,0 +1,15 @@
using System.ComponentModel.DataAnnotations;
namespace WebAPI.Models
{
public class ProcessSource
{
#region Relations
[Required]
public Guid LayerId { get; set; }
[Required]
public Guid SourceId { get; set; }
public Layer? Source { get; set; }
#endregion
}
}