This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
@@ -10,20 +11,24 @@ namespace AyaNova.Models
|
||||
|
||||
public class WorkOrderItem : ICoreBizObjectModel
|
||||
{
|
||||
|
||||
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
public string Notes { get; set; }//Was Summary
|
||||
public string Wiki { get; set; }
|
||||
public string CustomFields { get; set; }
|
||||
public List<string> Tags { get; set; } = new List<string>();
|
||||
|
||||
public string TechNotes { get; set; }
|
||||
|
||||
|
||||
//Principle
|
||||
|
||||
[Required]
|
||||
public long WorkOrderId { get; set; }
|
||||
public string TechNotes { get; set; }
|
||||
public long WorkorderItemStatusId { get; set; }
|
||||
public long WorkorderItemPriorityId { get; set; }
|
||||
public DateTime RequestDate { get; set; }
|
||||
public bool WarrantyService { get; set; } = false;
|
||||
|
||||
//Principle
|
||||
|
||||
[JsonIgnore]
|
||||
public WorkOrder WorkOrder { get; set; }
|
||||
|
||||
@@ -59,9 +64,9 @@ CREATE TABLE [dbo].[AWORKORDERITEM](
|
||||
[APRIORITYID] [uniqueidentifier] NULL,
|
||||
[AREQUESTDATE] [datetime] NULL,
|
||||
[ASUMMARY] [nvarchar](255) NULL,//Now Notes
|
||||
[ATYPEID] [uniqueidentifier] NULL,
|
||||
[AUNITID] [uniqueidentifier] NULL,
|
||||
[AWORKORDERITEMUNITSERVICETYPEID] [uniqueidentifier] NULL,
|
||||
[ATYPEID] [uniqueidentifier] NULL,//Now a tag
|
||||
[AUNITID] [uniqueidentifier] NULL,//MOVED TO WOITEMUNITS COLLECTION
|
||||
[AWORKORDERITEMUNITSERVICETYPEID] [uniqueidentifier] NULL,//MOVE TO WOITEMUNITS COLLECTION?
|
||||
[AWARRANTYSERVICE] [bit] NOT NULL,
|
||||
[ACUSTOM1] [ntext] NULL,
|
||||
[ACUSTOM2] [ntext] NULL,
|
||||
|
||||
Reference in New Issue
Block a user