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 } }