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; } }