This commit is contained in:
@@ -8,15 +8,22 @@ namespace AyaNova.Models
|
||||
{
|
||||
public class WorkOrderItemPartRequest : ICoreBizObjectModel
|
||||
{
|
||||
public WorkOrderItemPartRequest()
|
||||
{
|
||||
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 PartId { get; set; }
|
||||
[Required]
|
||||
public long PartWarehouseId { get; set; }
|
||||
[Required]
|
||||
public decimal Quantity { get; set; }
|
||||
|
||||
[Required]
|
||||
public long PurchaseOrderItemId { get; set; }
|
||||
[Required]
|
||||
public decimal Received { get; set; }
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
@@ -27,3 +34,18 @@ namespace AyaNova.Models
|
||||
|
||||
}//eoc
|
||||
}//eons
|
||||
|
||||
/*
|
||||
CREATE TABLE [dbo].[AWORKORDERITEMPARTREQUEST](
|
||||
[AID] [uniqueidentifier] NOT NULL,
|
||||
[AWORKORDERITEMID] [uniqueidentifier] NOT NULL,
|
||||
[ACREATOR] [uniqueidentifier] NOT NULL,
|
||||
[AMODIFIER] [uniqueidentifier] NOT NULL,
|
||||
[ACREATED] [datetime] NOT NULL,
|
||||
[AMODIFIED] [datetime] NOT NULL,
|
||||
[APARTID] [uniqueidentifier] NOT NULL,
|
||||
[APARTWAREHOUSEID] [uniqueidentifier] NOT NULL,
|
||||
[AQUANTITY] [decimal](19, 5) NOT NULL,
|
||||
[APURCHASEORDERITEMID] [uniqueidentifier] NULL,
|
||||
[ARECEIVED] [decimal](19, 5)
|
||||
*/
|
||||
@@ -1,4 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Newtonsoft.Json;
|
||||
@@ -8,15 +8,16 @@ namespace AyaNova.Models
|
||||
{
|
||||
public class WorkOrderItemScheduledUser : ICoreBizObjectModel
|
||||
{
|
||||
public WorkOrderItemScheduledUser()
|
||||
{
|
||||
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; }
|
||||
|
||||
public long? UserId { get; set; }
|
||||
public decimal EstimatedQuantity { get; set; }
|
||||
public DateTime? StartDate { get; set; }
|
||||
public DateTime? StopDate { get; set; }
|
||||
public long? ServiceRateId { get; set; }
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
@@ -27,3 +28,17 @@ namespace AyaNova.Models
|
||||
|
||||
}//eoc
|
||||
}//eons
|
||||
/*
|
||||
CREATE TABLE [dbo].[AWORKORDERITEMSCHEDULEDUSER](
|
||||
[AID] [uniqueidentifier] NOT NULL,
|
||||
[AWORKORDERITEMID] [uniqueidentifier] NOT NULL,
|
||||
[ACREATOR] [uniqueidentifier] NOT NULL,
|
||||
[AMODIFIER] [uniqueidentifier] NOT NULL,
|
||||
[ACREATED] [datetime] NOT NULL,
|
||||
[AMODIFIED] [datetime] NOT NULL,
|
||||
[AUSERID] [uniqueidentifier] NULL,
|
||||
[AESTIMATEDQUANTITY] [decimal](19, 5) NULL,
|
||||
[ASTARTDATE] [datetime] NULL,
|
||||
[ASTOPDATE] [datetime] NULL,
|
||||
[ASERVICERATEID] [uniqueidentifier] NULL
|
||||
*/
|
||||
Reference in New Issue
Block a user