using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Newtonsoft.Json; namespace AyaNova.Models { public class WorkOrderItemTask : ICoreBizObjectModel { public WorkOrderItemTask() { Tags = new List(); } public long Id { get; set; } public uint Concurrency { get; set; } public string Notes { get; set; } public string CustomFields { get; set; } public List Tags { get; set; } [Required] public long WorkOrderItemId { get; set; } [JsonIgnore] public WorkOrderItem WorkOrderItem { get; set; } //Just to conform with interface, it's rare and easier to do this [System.ComponentModel.DataAnnotations.Schema.NotMapped] public string Wiki { get => throw new System.NotImplementedException(); set => throw new System.NotImplementedException(); } }//eoc }//eons