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

26 lines
551 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Infrastructure.Ddd.Dtos.Abstract;
namespace Yi.Framework.Infrastructure.Ddd.Dtos
{
public class PagedResultDto<T> : ListResultDto<T>, IPagedResult<T>
{
public long Total { get; set; }
public PagedResultDto()
{
}
public PagedResultDto(long totalCount, IReadOnlyList<T> items)
: base(items)
{
Total = totalCount;
}
}
}