我滴个乖乖
This commit is contained in:
15
ZelWiki.Models/ViewModels/Page/PageEditViewModel.cs
Normal file
15
ZelWiki.Models/ViewModels/Page/PageEditViewModel.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZelWiki.Models.ViewModels.Page
|
||||
{
|
||||
public class PageEditViewModel : ViewModelBase
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Navigation { get; set; } = string.Empty;
|
||||
public string? Description { get; set; } = string.Empty;
|
||||
public string? Body { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user