Moli0
2021-12-15 24d68e7998e80cbd4ef3ed04acbf2539a9c5a46b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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;
        }
    }
}