30 lines
877 B
C#
30 lines
877 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Newtonsoft.Json;
|
|
using AyaNova.Biz;
|
|
|
|
namespace AyaNova.Models
|
|
{
|
|
public class WorkOrderItemUnit : ICoreBizObjectModel
|
|
{
|
|
public WorkOrderItemUnit()
|
|
{
|
|
Tags = new List<string>();
|
|
}
|
|
public long Id { get; set; }
|
|
public uint Concurrency { get; set; }
|
|
public string Notes { get; set; }
|
|
public string CustomFields { get; set; }
|
|
public List<string> Tags { get; set; }
|
|
[Required]
|
|
public long WorkOrderItemId { get; set; }
|
|
[JsonIgnore]
|
|
public WorkOrderItem WorkOrderItem { get; set; }
|
|
|
|
[NotMapped, JsonIgnore]
|
|
public AyaType AyaType { get => AyaType.WorkOrderItemUnit; }
|
|
|
|
}//eoc
|
|
}//eons
|