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.
22 lines
608 B
22 lines
608 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 = "值")]
|
|
public string Value { get; set; }
|
|
}
|
|
} |