20 lines
586 B
C#
20 lines
586 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using LCU.Library.Internal.IncentiveApiModels.Enums;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace LCU.Library.Internal.IncentiveApiModels.Entities
|
|
{
|
|
public class ActivityMetaData
|
|
{
|
|
public int Id { get; set; }
|
|
public string MetaData { get; set; }
|
|
[Required]
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public MetaDataType MetaDataType { get; set; }
|
|
public int ActivityRef { get; set; }
|
|
[JsonIgnore]
|
|
public Activity Activity { get; set; }
|
|
}
|
|
}
|