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.
30 lines
817 B
30 lines
817 B
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; }
|
|
}
|
|
} |