19 lines
474 B
C#
19 lines
474 B
C#
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; }
|
|
}
|