This commit is contained in:
@@ -2,6 +2,7 @@ using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Newtonsoft.Json;
|
||||
using AyaNova.Biz;
|
||||
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
@@ -25,6 +26,9 @@ namespace AyaNova.Models
|
||||
public string CustomFields { get; set; }
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public AyaType AyaType { get => AyaType.WorkOrder; }
|
||||
|
||||
}//eoc
|
||||
|
||||
public class WorkOrder : ICoreBizObjectModel
|
||||
@@ -61,6 +65,9 @@ namespace AyaNova.Models
|
||||
return this.Serial.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
[NotMapped]
|
||||
public AyaType AyaType { get => AyaType.WorkOrder; }
|
||||
}//eoc
|
||||
|
||||
}//eons
|
||||
|
||||
Reference in New Issue
Block a user