WIP: copy process
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
15
WebAPI/Models/ProcessSource.cs
Normal file
15
WebAPI/Models/ProcessSource.cs
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user