using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlexJobApi.Core { /// /// 查询个人用户收支明细分页列表数据 /// [Resource([EnumResourceController.UserServerUser])] public class GetPersonalUserTransactionsQuery : PagedListQuery { /// /// 创建时间-起始 /// public DateTimeOffset? CreatedTimeStart { get; set; } /// /// 创建时间-截止 /// public DateTimeOffset? CreatedTimeEnd { get; set; } /// /// 类型 /// public EnumUserWalletTransactionType? Type { get; set; } } /// /// 查询C端人员分页列表数据-结果 /// public class GetPersonalUserTransactionsQueryResult : PagedListQueryResult { /// /// 统计 /// public GetPersonalUserTransactionsQueryResultObjectData ObjectData { get; set; } } /// /// 查询C端人员分页列表数据-结果 /// public class GetPersonalUserTransactionsQueryResultObjectData { /// /// 总收入 /// public decimal SumIncome { get; set; } /// /// 总提现 /// public decimal SumWithdraw { get; set; } } /// /// 查询C端人员分页列表数据-结果-项 /// public class GetPersonalUserTransactionsQueryResultItem { /// /// 收支Id /// public Guid Id { get; set; } /// /// 标题 /// public string Title { get; set; } /// /// 创建时间 /// public DateTimeOffset CreatedTime { get; set; } /// /// 金额 /// public decimal Amount { get; set; } /// /// 余额 /// public decimal Balance { get; set; } } }