1111111
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
using TightWiki.Models.DataModels;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using TightWiki.Models.DataModels;
|
||||
|
||||
namespace TightWiki.Models.ViewModels.Admin
|
||||
{
|
||||
public class MenuItemViewModel : ViewModelBase
|
||||
{
|
||||
public int Id { get; set; }
|
||||
[Display(Name = "分类")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
[Display(Name = "链接")]
|
||||
public string Link { get; set; } = string.Empty;
|
||||
[Display(Name = "序列")]
|
||||
public int Ordinal { get; set; }
|
||||
|
||||
public MenuItem ToDataModel()
|
||||
|
||||
Reference in New Issue
Block a user