using Infrastructure.Application; using Microsoft.AspNetCore.Mvc; using System.ComponentModel.DataAnnotations; namespace Application.Models { [Display(Name = "产品")] public class EditProductModel : EditModel { [Display(Name = "产品名称")] public string Name { get; set; } [Display(Name = "产品型号")] public string Number { get; set; } [Display(Name = "图标")] public string Icon { get; set; } [Display(Name = "ApiJson")] public string ApiJson { get; set; } [Display(Name = "产品分类")] public string CategoryName { get; set; } [Display(Name = "产品分类")] [HiddenInput(DisplayValue = false)] [ScaffoldColumn(true)] public string CategoryNumber { get; set; } } }