mirror of
https://github.com/sphildreth/roadie
synced 2024-11-10 06:44:12 +00:00
Themeing related
This commit is contained in:
parent
9b118b66da
commit
603fca18c4
1 changed files with 10 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
using Mapster;
|
||||
using Newtonsoft.Json;
|
||||
using Roadie.Library.Enums;
|
||||
using Roadie.Library.Utility;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
@ -46,6 +48,14 @@ namespace Roadie.Library.Models
|
|||
|
||||
public int? Status { get; set; }
|
||||
|
||||
public string StatusVerbose
|
||||
{
|
||||
get
|
||||
{
|
||||
return SafeParser.ToEnum<Statuses>(this.Status).ToString();
|
||||
}
|
||||
}
|
||||
|
||||
[MaxLength(65535)]
|
||||
[JsonIgnore]
|
||||
[IgnoreDataMember]
|
||||
|
|
Loading…
Reference in a new issue