Removed partial
This commit is contained in:
@@ -7,7 +7,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class Contract
|
||||
public class Contract
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class Customer
|
||||
public class Customer
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class DataListView
|
||||
public class DataListView
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace AyaNova.Models
|
||||
/// <summary>
|
||||
/// Event log entry
|
||||
/// </summary>
|
||||
public partial class Event
|
||||
public class Event
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class FileAttachment
|
||||
public class FileAttachment
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace AyaNova.Models
|
||||
- e.g.: [{fld:"ltkeyfieldname",hide:"true/false",required:"true/false", type:"bool"},{fld:"ltkeyfieldname",hide:"true/false",required:"true/false", type:"text"]
|
||||
|
||||
*/
|
||||
public partial class FormCustom
|
||||
public class FormCustom
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -3,7 +3,7 @@ using Newtonsoft.Json;
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class GlobalBizSettings
|
||||
public class GlobalBizSettings
|
||||
{
|
||||
public long Id { get; set; }//this is always 1 as there is only ever one single global biz object
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class HeadOffice
|
||||
public class HeadOffice
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -3,7 +3,7 @@ using System;
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class License
|
||||
public class License
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string Key { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class LoanUnit
|
||||
public class LoanUnit
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace AyaNova.Models
|
||||
/// <summary>
|
||||
/// Operations job
|
||||
/// </summary>
|
||||
public partial class OpsJob
|
||||
public class OpsJob
|
||||
{
|
||||
[Key]
|
||||
public Guid GId { get; set; }
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace AyaNova.Models
|
||||
/// <summary>
|
||||
/// Operations job log
|
||||
/// </summary>
|
||||
public partial class OpsJobLog
|
||||
public class OpsJobLog
|
||||
{
|
||||
[Key]
|
||||
public Guid GId { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class PM
|
||||
public class PM
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class PMItem
|
||||
public class PMItem
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class PMTemplate
|
||||
public class PMTemplate
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class PMTemplateItem
|
||||
public class PMTemplateItem
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class Part
|
||||
public class Part
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace AyaNova.Models
|
||||
{
|
||||
|
||||
//See core-picklist-autocomplete-template-system.txt for details
|
||||
public partial class PickListTemplate
|
||||
public class PickListTemplate
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class Project
|
||||
public class Project
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class PurchaseOrder
|
||||
public class PurchaseOrder
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class Quote
|
||||
public class Quote
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class QuoteItem
|
||||
public class QuoteItem
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class QuoteTemplate
|
||||
public class QuoteTemplate
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class QuoteTemplateItem
|
||||
public class QuoteTemplateItem
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class SearchDictionary
|
||||
public class SearchDictionary
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class SearchKey
|
||||
public class SearchKey
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class Tag
|
||||
public class Tag
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -5,9 +5,8 @@ using System.ComponentModel.DataAnnotations;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
// [JsonObject(IsReference = true)]
|
||||
public partial class Translation
|
||||
{
|
||||
public class Translation
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ using Newtonsoft.Json;
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class TranslationItem
|
||||
public class TranslationItem
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class Unit
|
||||
public class Unit
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class UnitModel
|
||||
public class UnitModel
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -6,7 +6,7 @@ using Newtonsoft.Json;
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class User
|
||||
public class User
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -3,7 +3,7 @@ using Newtonsoft.Json;
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class UserOptions
|
||||
public class UserOptions
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class Vendor
|
||||
public class Vendor
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
//NOTE: In Widget DB schema only name and serial are not nullable
|
||||
public partial class Widget
|
||||
public class Widget
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -7,31 +7,31 @@ namespace AyaNova.Models
|
||||
{
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class WorkOrder
|
||||
|
||||
public class WorkOrder
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
[Required]
|
||||
public uint Serial { get; set; }
|
||||
public bool Active { get; set; }
|
||||
public string Notes { get; set; }
|
||||
public string Wiki {get;set;}
|
||||
public uint Serial { get; set; }
|
||||
public bool Active { get; set; }
|
||||
public string Notes { get; set; }
|
||||
public string Wiki { get; set; }
|
||||
public string CustomFields { get; set; }
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
|
||||
//dependents
|
||||
public List<WorkOrderItem> WorkorderItems { get; set; }
|
||||
|
||||
public WorkOrder()
|
||||
{
|
||||
Tags = new List<string>();
|
||||
WorkorderItems=new List<WorkOrderItem>();
|
||||
WorkorderItems = new List<WorkOrderItem>();
|
||||
}
|
||||
|
||||
|
||||
//Not persisted business properties
|
||||
//Not persisted business properties
|
||||
// //NOTE: this could be a common class applied to everything for common biz rule stuff
|
||||
// //i.e. specific rights in situations based on rules, like candelete, canedit etc
|
||||
// [NotMapped]
|
||||
|
||||
@@ -7,8 +7,8 @@ namespace AyaNova.Models
|
||||
{
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class WorkOrderItem
|
||||
|
||||
public class WorkOrderItem
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class WorkOrderItemLabor
|
||||
public class WorkOrderItemLabor
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class WorkOrderItemPart
|
||||
public class WorkOrderItemPart
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class WorkOrderTemplate
|
||||
public class WorkOrderTemplate
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public partial class WorkOrderTemplateItem
|
||||
public class WorkOrderTemplateItem
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class NameIdActiveItem
|
||||
public class NameIdActiveItem
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class NameIdItem
|
||||
public class NameIdItem
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace AyaNova.Models
|
||||
/// <summary>
|
||||
/// Dto object for name only parameters in routes
|
||||
/// </summary>
|
||||
public partial class NameItem
|
||||
public class NameItem
|
||||
{
|
||||
public string Name { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class NewTextIdConcurrencyTokenItem
|
||||
public class NewTextIdConcurrencyTokenItem
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string NewText { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user