using PublicCode.RedisConfig;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace PublicCode.Account
|
{
|
/// <summary>
|
/// 文件用户信息
|
/// </summary>
|
public class FileUserModel : IBaseRedisModel
|
{
|
/// <summary>
|
/// __usertoken
|
/// </summary>
|
public string id { get; set; }
|
|
public string Account { get; set; }
|
|
public string User_Id { get; set; }
|
|
public string key { get; set; }
|
|
public virtual bool IsNull() {
|
bool res = true;
|
foreach (var a in this.GetType().GetProperties()) {
|
res = res && string.IsNullOrWhiteSpace(Convert.ToString(a.GetValue(this)));
|
}
|
return res;
|
}
|
}
|
}
|