using PublicCode.RedisConfig;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PublicCode.Account
{
///
/// 文件用户信息
///
public class FileUserModel : IBaseRedisModel
{
///
/// __usertoken
///
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;
}
}
}