Files
juipnet/Services/Hncore.Pass.Vpn/Model/UserConsumeStatisticsModel.cs
wanyongkang d318014316 初始提交
2020-10-07 20:25:03 +08:00

36 lines
965 B
C#

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