This commit is contained in:
2021-03-26 16:52:54 +00:00
parent 0432bc3628
commit c042162daf
2 changed files with 38 additions and 10 deletions

View File

@@ -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,22 @@ namespace AyaNova.Models
{
public class WorkOrderItemLabor : ICoreBizObjectModel
{
public WorkOrderItemLabor()
{
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 DateTime? ServiceStartDate { get; set; }
public DateTime? ServiceStopDate { get; set; }
public long? ServiceRateId { get; set; }
public string ServiceDetails { get; set; }
public decimal ServiceRateQuantity { get; set; }
public decimal NoChargeQuantity { get; set; }
public long? ServiceBankId { get; set; }
public long? TaxCodeSaleId { get; set; }
[Required]
public long WorkOrderItemId { get; set; }
[JsonIgnore]
@@ -27,3 +34,22 @@ namespace AyaNova.Models
}//eoc
}//eons
/*
CREATE TABLE [dbo].[AWORKORDERITEMLABOR](
[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,
[ASERVICESTARTDATE] [datetime] NULL,
[ASERVICESTOPDATE] [datetime] NULL,
[ASERVICERATEID] [uniqueidentifier] NULL,
[ASERVICEDETAILS] [ntext] NULL,
[ASERVICERATEQUANTITY] [decimal](19, 5) NULL,
[ANOCHARGEQUANTITY] [decimal](19, 5) NULL,
[ASERVICEBANKID] [uniqueidentifier] NULL,
[ATAXRATESALEID] [uniqueidentifier] NULL
*/