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/Platform/Application/Models/EditDictionaryItemModel.cs

26 lines
631 B

using Infrastructure.Application;
using System;
using System.ComponentModel.DataAnnotations;
namespace IoT.Shared.Application.Models
{
[Display(Name = "数据字典")]
public class EditDictionaryItemModel : EditModel
{
[Required]
[Display(Name = "名称")]
public string Name { get; set; }
[Required]
[Display(Name = "取值")]
public string Value { get; set; }
[Display(Name = "序号")]
public int Order { get; set; }
[Required]
[SelectList]
[Display(Name = "分类")]
public Guid? CategoryId { get; set; }
}
}