This commit is contained in:
2020-01-20 18:12:21 +00:00
parent 6bdc6e721e
commit b2d2f0f108
12 changed files with 15 additions and 41 deletions

View File

@@ -496,9 +496,12 @@ namespace AyaNova.Biz
}
}
TODO: Build the return object in a clean format
//THIS FORMAT IS INCORRECT I THINK
//IT SHOULD BE A FULLER OBJECT WITH THE PROPERTYNAME ?!
//TODO: Build the return object in a clean format
//I could just use a actual object class to return (object v {get;set;})
//with a optional ID that is set to json not serialize if null?
//https://www.newtonsoft.com/json/help/html/JsonPropertyPropertyLevelSetting.htm
//rows:{[ {},{v:"Green mechanics",id:32},{v:"...notes..."},{v:"42",id:42}, ...thousands more etc.... ]}

View File

@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;

View File

@@ -1,4 +1,3 @@
using System;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;

View File

@@ -1,23 +1,19 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models
{
/*
/*
- Like DataFilter, holds a JSON fragment in one field and the form key in another field
- JSON FRAGMENT holds items that differ from stock, Hide not valid for non hideable core fields
- FieldKey "fld"
- Hide "hide"
- Required "required"
- Type One of values from AyDataType but not tags or enum (bool, date, date time, decimal, number, picklist(FUTURE), and text)
- e.g.: [{fld:"ltkeyfieldname",hide:"true/false",required:"true/false", type:"bool"},{fld:"ltkeyfieldname",hide:"true/false",required:"true/false", type:"text"]
- Like DataFilter, holds a JSON fragment in one field and the form key in another field
- JSON FRAGMENT holds items that differ from stock, Hide not valid for non hideable core fields
- FieldKey "fld"
- Hide "hide"
- Required "required"
- Type One of values from AyDataType but not tags or enum (bool, date, date time, decimal, number, picklist(FUTURE), and text)
- 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 long Id { get; set; }

View File

@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
namespace AyaNova.Models
{

View File

@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;

View File

@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models

View File

@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;

View File

@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models

View File

@@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;

View File

@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models

View File

@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace AyaNova.Models