47 lines
1.0 KiB
C#
47 lines
1.0 KiB
C#
using Hncore.Pass.BaseInfo.Models;
|
|
using Hncore.Pass.Vpn.Domain;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Home.Models
|
|
{
|
|
public class UserHomeModel
|
|
{
|
|
public User UserModel { get; set; }
|
|
|
|
public AccountModel AccountModel { get; set; } = new AccountModel();
|
|
|
|
public List<ArticleEntity> TopNewsModel { get; set; }
|
|
|
|
public StatisticModel Statistic { get; set; } = new StatisticModel();
|
|
|
|
}
|
|
|
|
public class AccountModel
|
|
{
|
|
public int TotalCount { get; set; }
|
|
|
|
public int ExpriedCount { get; set; }
|
|
}
|
|
|
|
public class StatisticModel
|
|
{
|
|
public decimal TodayExpend { get; set; }
|
|
|
|
public decimal TodayRefund { get; set; }
|
|
|
|
public decimal TodayCharege { get; set; }
|
|
|
|
public decimal MonthExpend { get; set; }
|
|
|
|
public decimal MonthRefund { get; set; }
|
|
|
|
public decimal MonthCharege { get; set; }
|
|
|
|
public decimal YearExpend { get; set; }
|
|
}
|
|
|
|
}
|