This commit is contained in:
2020-07-17 00:38:08 +00:00
parent 338f61628e
commit c249fd5400
34 changed files with 294 additions and 165 deletions

View File

@@ -1,12 +1,14 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using AyaNova.Biz;
namespace AyaNova.Models
{
public class WorkOrderItemLabor : ICoreBizObjectModel
{
public WorkOrderItemLabor()
public WorkOrderItemLabor()
{
Tags = new List<string>();
}
@@ -16,9 +18,12 @@ namespace AyaNova.Models
public string CustomFields { 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; }
[NotMapped]
public AyaType AyaType { get => AyaType.WorkOrderItemLabor; }
}//eoc
}//eons