using Infrastructure.Application; using System; using System.ComponentModel.DataAnnotations; namespace Application.Models { [Display(Name = "产品")] public class EditProductModel : EditModel { [Display(Name = "产品分类")] [DataType("SelectList")] public Guid? CategoryId { get; set; } [Display(Name = "产品名称")] public string Name { get; set; } [Display(Name = "产品型号")] public string Number { get; set; } [Display(Name = "图片")] [DataType(DataType.ImageUrl)] public string Image { get; set; } [Display(Name = "路径")] public string Path { get; set; } [Display(Name = "序号")] public int DisplayOrder { get; set; } [Display(Name = "ApiJson")] [DataType(DataType.MultilineText)] public string ApiJson { get; set; } } }