Files
Yi.Framework/Yi.Framework.Net6/Yi.Framework.Common/Models/PageModel.cs
陈淳 781fa7ea1b ruoyi对接
登录接口、用户信息接口、用户管理接口等
2022-09-07 18:22:15 +08:00

30 lines
606 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.Common.Models
{
public class PageModel<T>
{
public PageModel() { }
public PageModel(T data,int total)
{
Data = data;
Total = total;
}
public int Total { get; set; }
public T Data { get; set; }
}
public class PageModel : PageModel<object>
{
public PageModel() { }
public PageModel(object data, int total) : base(data, total)
{
}
}
}