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/Areas/Admin/Models/EditEFConfigurationValueMod...

23 lines
669 B

using System;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Application;
namespace Infrastructure.Configuration
{
[Display(Name = "配置")]
public class EditEFConfigurationValueModel
{
[DataType("SelectList")]
[Display(Name = "类型")]
[Required(ErrorMessage = nameof(RequiredAttribute))]
public InputType? Type { get; set; }
[Display(Name = "键")]
[Required(ErrorMessage = nameof(RequiredAttribute))]
public String Id { get; set; }
[Display(Name = "值")]
[Required(ErrorMessage = nameof(RequiredAttribute))]
public string Value { get; set; }
}
}