12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
-
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using CZFW.Framework.Attributes;
- namespace CZFW.Framework.Model.ViewModel
- {
-
-
-
- public sealed class NavigationModel : ModelBase
- {
- public string ParentMark;
-
-
-
- [Invisible]
- public string Mark { get; set; }
-
-
-
- [Display(Name = "图标样式类")]
- public string Icon { get; set; }
-
-
-
- [Display(Name = "上传图标")]
- [DataType(DataType.ImageUrl)]
- public string Thumbnail { get; set; }
-
-
-
- [Display(Name = "链接")]
- [Required]
- public string Url { get; set; }
-
-
-
- [Display(Name = "名称")]
- public string Name { get; set; }
-
-
-
- [Display(Name = "简介")]
- public string Description { get; set; }
- [Invisible]
- public IList<NavigationModel> Children { get; set; }
- }
- }
|