Files
juipnet/Services/Hncore.Pass.Vpn/Model/UserConsumeStatisticsModel.cs

36 lines
930 B
C#
Raw Normal View History

2023-07-29 10:19:42 +08:00
using Hncore.Pass.Vpn.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hncore.Pass.Vpn.Model
{
public class UserConsumeStatisticsModel
{
public string UserName { get; set; }
public UserEntity UserInfo {get;set;}
public DateTime CreateTime { get; set; }
public string TotalAmount { get; set; }
public string DayAmount { get; set; }
public decimal PrevMonthAmount { get; set; }
public decimal MonthAmount { get; set; }
public decimal AddAmount => MonthAmount - PrevMonthAmount;
public string YearAmount { get; set; }
public int TotalAccountCount=> ExpirdAccountCount + UsingAccountCount;
public int UsingAccountCount { get; set; } = 0;
public int ExpirdAccountCount { get; set; } = 0;
public int TestAccountCount { get; set; } = 0;
}
}