This commit is contained in:
2018-06-28 23:41:48 +00:00
commit 515bd37952
256 changed files with 29890 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System;
using AyaNova.Biz;
namespace AyaNova.Models
{
/// <summary>
/// Provides mapping during import
/// </summary>
public partial class ImportAyaNova7MapItem
{
public AyaTypeId NewObject { get; set; }
public Guid V7ObjectId { get; set; }
public ImportAyaNova7MapItem(Guid v7Guid, AyaType ayaType, long newId){
NewObject=new AyaTypeId(ayaType,newId);
V7ObjectId=v7Guid;
}
}
}

View File

@@ -0,0 +1,40 @@
using AyaNova.Biz;
using System;
namespace AyaNova.Models
{
/// <summary>
/// Job info fetch data
/// </summary>
public class JobOperationsFetchInfo
{
/// <summary>
/// Identity of the job
/// </summary>
/// <returns> id value of job, can be used to fetch logs</returns>
public Guid GId { get; set; }
/// <summary>
/// Date job was submitted
/// </summary>
/// <returns>UTC date/time</returns>
public DateTime Created { get; set; }
/// <summary>
/// Date of the most recent operation for this job
/// </summary>
/// <returns>UTC date/time</returns>
public DateTime LastAction { get; set; }
/// <summary>
/// Descriptive name of the job
/// </summary>
/// <returns>string</returns>
public string Name { get; set; }
/// <summary>
/// Status of the job
/// </summary>
/// <returns>Job status as string</returns>
public string JobStatus { get; set; }
}
}

View File

@@ -0,0 +1,26 @@
using AyaNova.Biz;
using System;
namespace AyaNova.Models
{
/// <summary>
/// Job log item
/// </summary>
public class JobOperationsLogInfoItem
{
/// <summary>
/// Date of log entry
/// </summary>
/// <returns>UTC date/time</returns>
public DateTime Created { get; set; }
/// <summary>
/// Log text
/// </summary>
/// <returns>string</returns>
public string StatusText { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
namespace AyaNova.Models
{
public partial class NameIdActiveItem
{
public long Id { get; set; }
public string Name { get; set; }
public bool? Active { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace AyaNova.Models
{
public partial class NameIdItem
{
public long Id { get; set; }
public string Name { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
namespace AyaNova.Models
{
/// <summary>
/// Dto object for name only parameters in routes
/// </summary>
public partial class NameItem
{
public string Name { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
namespace AyaNova.Models
{
public partial class NewTextIdConcurrencyTokenItem
{
public long Id { get; set; }
public string NewText { get; set; }
public uint ConcurrencyToken { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using AyaNova.Biz;
namespace AyaNova.Models
{
public class TagMapInfo
{
public long TagId { get; set; }
public long TagToObjectId { get; set; }
public AyaType TagToObjectType { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
using AyaNova.Biz;
namespace AyaNova.Models
{
public class TypeAndIdInfo
{
public long ObjectId { get; set; }
public AyaType ObjectType { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
namespace AyaNova.Models
{
/// <summary>
/// Uploaded file info in it's temporary state
/// </summary>
public class UploadedFileInfo
{
public string InitialUploadedPathName { get; set; }
public string OriginalFileName { get; set; }
public string MimeType { get; set; }
}
}