rename all variants of naming that hold an AyaType value to "aType" (parameter) / "AType" (not parameter) everywhere front and back; "ayType", "objectType", "oType" all are used in various areas
This commit is contained in:
@@ -13,6 +13,6 @@ namespace AyaNova.Models
|
||||
REQUEST
|
||||
BASE: DataListKey, ClientCriteria, FilterId
|
||||
TABLEVERSION: Limit, Offset : base
|
||||
REPORT/BULK OPS VERSION: ObjectType(ayatype),SelectedRowIds(long[]) : base
|
||||
REPORT/BULK OPS VERSION: AType(ayatype),SelectedRowIds(long[]) : base
|
||||
*/
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace AyaNova.Models
|
||||
//handles posts from client
|
||||
public class DataListSelectedRequest : DataListRequestBase
|
||||
{
|
||||
public AyaType ObjectType { get; set; }
|
||||
public AyaType AType { get; set; }
|
||||
public long[] SelectedRowIds { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace AyaNova.Models
|
||||
[Required]
|
||||
public long AttachToObjectId { get; set; }
|
||||
[Required]
|
||||
public AyaType AttachToObjectType { get; set; }//int
|
||||
public AyaType AttachToAType { get; set; }//int
|
||||
[Required]
|
||||
public string StoredFileName { get; set; }
|
||||
[Required]
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace AyaNova.Models
|
||||
public JobType JobType { get; set; }
|
||||
public JobSubType SubType { get; set; }
|
||||
public long ObjectId { get; set; }
|
||||
public AyaType ObjectType { get; set; }
|
||||
public AyaType AType { get; set; }
|
||||
[Required]
|
||||
public JobStatus JobStatus { get; set; }
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace AyaNova.Models
|
||||
JobType = JobType.NotSet;
|
||||
SubType = JobSubType.NotSet;
|
||||
ObjectId = 0;
|
||||
ObjectType = AyaType.NoType;
|
||||
AType = AyaType.NoType;
|
||||
JobStatus = JobStatus.Sleeping;
|
||||
JobInfo = null;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace AyaNova.Models
|
||||
public string Notes { get; set; }
|
||||
public AuthorizationRoles Roles { get; set; }
|
||||
[Required]
|
||||
public AyaType ObjectType { get; set; }
|
||||
public AyaType AType { get; set; }
|
||||
|
||||
|
||||
public string Template { get; set; }
|
||||
@@ -47,7 +47,7 @@ namespace AyaNova.Models
|
||||
public Report()
|
||||
{
|
||||
RenderType = ReportRenderType.PDF;
|
||||
ObjectType = AyaType.NoType;
|
||||
AType = AyaType.NoType;
|
||||
Roles = AuthorizationRoles.All;
|
||||
Active = true;
|
||||
//these are pdf option defaults as per PuppeteerSharp
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace AyaNova.Models
|
||||
[Required]
|
||||
public long ObjectId { get; set; }
|
||||
[Required]
|
||||
public AyaType ObjectType { get; set; }//int
|
||||
public AyaType AType { get; set; }//int
|
||||
|
||||
[NotMapped]
|
||||
public bool OverDue
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace AyaNova.Models
|
||||
[Required]
|
||||
public long ObjectId { get; set; }
|
||||
[Required]
|
||||
public AyaType ObjectType { get; set; }
|
||||
public AyaType AType { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace AyaNova.Models
|
||||
[Required]
|
||||
public long ObjectId { get; set; }
|
||||
[Required]
|
||||
public AyaType ObjectType { get; set; }
|
||||
public AyaType AType { get; set; }
|
||||
[Required]
|
||||
public long SourceId { get; set; }
|
||||
[Required]
|
||||
@@ -71,7 +71,7 @@ namespace AyaNova.Models
|
||||
[Required]
|
||||
public long ObjectId { get; set; }
|
||||
[Required]
|
||||
public AyaType ObjectType { get; set; }
|
||||
public AyaType AType { get; set; }
|
||||
[Required]
|
||||
public long SourceId { get; set; }
|
||||
[Required]
|
||||
|
||||
Reference in New Issue
Block a user