Try to use attributes for enum to string conversion
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Hcs.WebApp.Data.Hcs
|
||||
{
|
||||
@ -6,7 +7,10 @@ namespace Hcs.WebApp.Data.Hcs
|
||||
{
|
||||
public enum CampaignType
|
||||
{
|
||||
[Display(Description = "Экспорт общих справочников")]
|
||||
ExportCommonRegistryElements_15_7_0_1,
|
||||
|
||||
[Display(Description = "Экспорт частных справочников")]
|
||||
ExportPrivateRegistryElements_15_7_0_1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user