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)
|
||||
*/
|
||||
Reference in New Issue
Block a user