Adding
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
using LCU.Library.Internal.IncentiveApiModels.Enums;
|
||||
|
||||
namespace LCU.API.Internal.Operations.IncentiveApi.Models.DataTransfer;
|
||||
|
||||
public class ActivityTransferApprovalRequest
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public ActivityTransferState ApprovalState { get; set; }
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
using LCU.Library.Internal.IncentiveApiModels.Enums;
|
||||
|
||||
namespace LCU.API.Internal.Operations.IncentiveApi.Models.DataTransfer;
|
||||
|
||||
public class ActivityTransferRequest
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
public ActivityState ActivityStateBeforeTransfer { get; set; }
|
||||
public int RequestedActivityId { get; set; }
|
||||
public int NewDepartmentId { get; set; }
|
||||
public string NewEmployeeId { get; set; }
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
namespace LCU.API.Internal.Operations.IncentiveApi.Models.DataTransfer;
|
||||
|
||||
public class AdditionalPermissionRequest
|
||||
{
|
||||
public List<string> AddPermCodes { get; set; }
|
||||
public List<string> RemovePermCodes { get; set; }
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.Operations.IncentiveApi.Models.DataTransfer;
|
||||
|
||||
public class DepartmentAssignmentRequest
|
||||
{
|
||||
[Required]
|
||||
public int[] DepartmentId { get; set; }
|
||||
[Required]
|
||||
public DateTime StartDate { get; set; }
|
||||
public DateTime? EndDate { get; set; }
|
||||
[StringLength(255)]
|
||||
public string? Note { get; set; }
|
||||
|
||||
[Required]
|
||||
[Range(0,100)]
|
||||
public decimal SlidingPayout { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Role { get; set; }
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.Operations.IncentiveApi.Models.DataTransfer;
|
||||
|
||||
public class ExtrapolateGoalDispersalRequest
|
||||
{
|
||||
[Range(1,12)]
|
||||
public int Month { get; set; }
|
||||
public int Year { get; set; }
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.Operations.IncentiveApi.Models.DataTransfer;
|
||||
|
||||
public class RoleMappingUpdateRequest
|
||||
{
|
||||
[Required]
|
||||
public int Id { get; set; }
|
||||
[Required]
|
||||
public string ApplicationRole { get; set; }
|
||||
[Required]
|
||||
public string BusinessRole { get; set; }
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
using LCU.Library.Internal.IncentiveApiModels.Enums;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Converters;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.Operations.IncentiveApi.Models.DataTransfer;
|
||||
|
||||
public class UserAssignmentRequest
|
||||
{
|
||||
[Required]
|
||||
public string EmployeeId { get; set; }
|
||||
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public AssignmentType? Type { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Key { get; set; }
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
namespace LCU.API.Internal.Operations.IncentiveApi.Models.DataTransfer;
|
||||
|
||||
public class UserNameSearchRequest
|
||||
{
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public string MiddleInit { get; set; }
|
||||
public string DnaOrgNbr { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user