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,7 +4,7 @@ using Newtonsoft.Json;
namespace AyaNova.Models
{
public class WorkOrderItemTask
public class WorkOrderItemTask : ICoreBizObjectModel
{
public WorkOrderItemTask()
{
@@ -19,5 +19,8 @@ namespace AyaNova.Models
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