This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Newtonsoft.Json;
|
||||
using AyaNova.Biz;
|
||||
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
@@ -19,6 +21,9 @@ namespace AyaNova.Models
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
public WorkOrderItem WorkOrderItem { get; set; }
|
||||
|
||||
|
||||
[NotMapped]
|
||||
public AyaType AyaType { get => AyaType.WorkOrderItemUnit; }
|
||||
|
||||
}//eoc
|
||||
}//eons
|
||||
|
||||
Reference in New Issue
Block a user