ICoreBizObjectModel for all
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user