Files
Yi.Framework/Yi.Furion.Net6/Yi.Framework.Infrastructure/Ddd/Dtos/PagedDto.cs
2023-04-15 17:35:22 +08:00

21 lines
431 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.Infrastructure.Ddd.Dtos
{
public class PagedDto<T>
{
public PagedDto(long totalCount, List<T> items)
{
Total = totalCount;
Items = items;
}
public long Total { get; set; }
public List<T> Items { get; set; }
}
}