ICoreBizObjectModel for all

This commit is contained in:
2020-05-17 16:54:15 +00:00
parent d85497aab6
commit cc828894a5
31 changed files with 69 additions and 36 deletions

View File

@@ -4,20 +4,23 @@ using Newtonsoft.Json;
namespace AyaNova.Models
{
public class WorkOrderItemUnit
public class WorkOrderItemUnit : ICoreBizObjectModel
{
public WorkOrderItemUnit()
public WorkOrderItemUnit()
{
Tags = new List<string>();
}
public long Id { get; set; }
public uint Concurrency { get; set; }
public uint Concurrency { get; set; }
public string Notes { get; set; }
public string CustomFields { get; set; }
public List<string> Tags { get; set; }
public List<string> Tags { get; set; }
[Required]
public long WorkOrderItemId { get; set; }
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