namespace Siger.Middlelayer.Repository.Entities
{
    public class siger_user: ConfigEntityBase
    {

        /// <summary>
        /// 废弃
        /// </summary>
        public string userid { get; set; } = string.Empty;

        /// <summary>
        /// 
        /// </summary>
        public string password { get; set; } = string.Empty;

        /// <summary>
        /// 
        /// </summary>
        public string nickname { get; set; } = string.Empty;

        /// <summary>
        /// 
        /// </summary>
        public string face { get; set; } = string.Empty;

        public int sex { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string email { get; set; } = string.Empty;

        /// <summary>
        /// 0->未验证 1->已验证
        /// </summary>
        public int email_status { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string mobile { get; set; } = string.Empty;

        /// <summary>
        /// 0->未验证 1->已验证
        /// </summary>
        public int mobile_status { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int jointime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string joinip { get; set; } = string.Empty;

        /// <summary>
        /// 
        /// </summary>
        public int lastlogintime { get; set; }
   
        /// <summary>
        ///  0->普通会员1->开店会员 2->管理员
        /// </summary>
        public int type { get; set; }

        /// <summary>
        /// 被赞数量
        /// </summary>
        public int zan { get; set; }

        /// <summary>
        /// 粉丝数量
        /// </summary>
        public int fans { get; set; }

        /// <summary>
        /// 关注数量
        /// </summary>
        public int follow { get; set; }

        /// <summary>
        /// 滴辣不沾,微辣,中辣,巨辣,变态辣,重口味
        /// </summary>
        public string taste { get; set; } = string.Empty;

        /// <summary>
        /// 最多256个汉字，用英文下逗号隔开
        /// </summary>
        public string avoid_certain_food { get; set; } = string.Empty;

        /// <summary>
        /// 个人简介，理论上最多500个字
        /// </summary>
        public string message { get; set; } = string.Empty;

        /// <summary>
        /// 用户获得积分
        /// </summary>
        public int score { get; set; }

        /// <summary>
        /// 账户余额（充值用）
        /// </summary>
        public float balance { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        public int birthday { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string realname { get; set; } = string.Empty;

        /// <summary>
        /// 用户权限JSON字符串 如：{"version":"2016-07-21 23:29:58","list":[{"section":"OA系统","selected":"1","lists":[{"name":"签到系统","type":"link","content":"sign","selected":"0"},{"name":"工作计划","type":"link","content":"task","selected":"0"},{"name":"工作墙","type":"link","content":"jobwall","selected":"1"},{"name":"工作日志","type":"link","content":"performance","selected":"1"},{"name":"财务记录","type":"link","content":"charge","selected":"1"}]},{"section":"互动管理","selected":"1","lists":[{"name":"会员列表","type":"link","content":"userlist","selected":"1"},{"name":"评论列表","type":"link","content":"commentlist","selected":"1"},{"name":"友链管理","type":"link","content":"friendlinklist","selected":"1"},{"name":"消息列表","type":"link","content":"messagelist","selected":"1"},{"name":"用户反馈","type":"link","content":"feedback","selected":"1"},{"name":"设备列表","type":"link","content":"devicelist","selected":"1"},{"name":"错误报告","type":"link"
        /// </summary>
        public string power { get; set; } = string.Empty;

        /// <summary>
        ///  0->非demo账号 1->demo 账号
        /// </summary>
        public int demo { get; set; }

        /// <summary>
        /// 毕业院校
        /// </summary>
        public string graduate { get; set; } = string.Empty;

        /// <summary>
        /// _user_roles id 对应
        /// </summary>
        public int roleid { get; set; }
    }
}
