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/Infrastructure/Application/Models/EditSettingModel.cs

20 lines
538 B

using Infrastructure.Application.Entites.Settings;
using System.ComponentModel.DataAnnotations;
namespace Infrastructure.Application.Models
{
[Display(Name = "配置")]
public class EditSettingModel : EditModel
{
[Display(Name = "属性名称")]
[Required]
public string Name { get; set; }
[UIHint("SelectList")]
[Display(Name = "输入类项")]
public SettingType? Type { get; set; }
[Display(Name = "属性值")]
public string Value { get; set; }
}
}