using System.ComponentModel.DataAnnotations; namespace HealthMonitor.Util.Models { /// /// /// public class Pagation { /// /// 页码 /// [Required] public int pageIndex { get; set; } = 1; /// /// 分页大小 /// [Required] public int pageSize { get; set; } = 10; } }