This commit is contained in:
2021-03-27 15:17:45 +00:00
parent e33460d25f
commit c40c4f01a4
11 changed files with 102 additions and 9 deletions

View File

@@ -8,12 +8,18 @@ namespace AyaNova.Models
{
public class WorkOrderItemUnit : ICoreBizObjectModel
{
public long Id { get; set; }
public uint Concurrency { get; set; }
public string Notes { get; set; }
//after much to and fro just code this as planned but definitely consider custom fields adn tags for this and possibly all other grandchildren as well?
public string Wiki { get; set; }
public string CustomFields { get; set; }
public List<string> Tags { get; set; } = new List<string>();
[Required]
public long UnitId { get; set; }
[Required]
public long WorkOrderItemId { get; set; }
[JsonIgnore]
@@ -41,7 +47,7 @@ CREATE TABLE [dbo].[AWORKORDERITEM](
[ASUMMARY] [nvarchar](255) NULL,
[ATYPEID] [uniqueidentifier] NULL,
[AUNITID] [uniqueidentifier] NULL,//<--------UNIT
[AWORKORDERITEMUNITSERVICETYPEID] [uniqueidentifier] NULL,//<--------UNIT
[AWORKORDERITEMUNITSERVICETYPEID] [uniqueidentifier] NULL,//<--------UNIT//NOW TAGS HMMM
[AWARRANTYSERVICE] [bit] NOT NULL,
[ACUSTOM1] [ntext] NULL,
[ACUSTOM2] [ntext] NULL,