21 lines
431 B
C#
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; }
|
|
}
|
|
}
|