You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/Application/Domain/Entities/Admin/DictionaryItem.cs

22 lines
527 B

using Infrastructure.Domain;
using System;
using System.ComponentModel.DataAnnotations;
namespace Application.Domain.Entities
{
[Display(Name = "字典", Order = 11)]
[Scope]
[AdminModule]
public class DictionaryItem : BaseEntity
{
[Required]
public string Name { get; set; }
[Required]
public string Value { get; set; }
public int Order { get; set; }
public Guid CategoryId { get; set; }
public DictionaryCategory Category { get; set; }
}
}