using System.Collections.Generic;
using System.Text.Json.Serialization;
using Essensoft.Paylink.Alipay.Domain;

namespace Essensoft.Paylink.Alipay.Response
{
    /// <summary>
    /// AlipayIserviceCcmRolePageQueryResponse.
    /// </summary>
    public class AlipayIserviceCcmRolePageQueryResponse : AlipayResponse
    {
        /// <summary>
        /// 查询结果的页码
        /// </summary>
        [JsonPropertyName("page_num")]
        public long PageNum { get; set; }

        /// <summary>
        /// 分页查询时设置的每页记录数
        /// </summary>
        [JsonPropertyName("page_size")]
        public long PageSize { get; set; }

        /// <summary>
        /// 角色列表
        /// </summary>
        [JsonPropertyName("roles")]
        public List<Role> Roles { get; set; }

        /// <summary>
        /// 总条目数
        /// </summary>
        [JsonPropertyName("total_count")]
        public long TotalCount { get; set; }
    }
}
