using System; using System.ComponentModel.DataAnnotations.Schema; using Znyc.Cloudcar.Admin.Commons.Entitys; namespace Znyc.Cloudcar.Admin.Security.Entitys { /// /// 用户表,数据实体对象 /// [Table("user")] [Serializable] public class UserEntity : BaseEntity { /// /// OpenId /// public string OpenId { get; set; } /// /// UnionId /// public string UnionId { get; set; } /// /// 用户昵称 /// public string UserName { get; set; } /// /// 用户头像 /// public string AvatarUrl { get; set; } /// /// 手机号 /// public string Phone { get; set; } /// /// 状态 /// public int State { get; set; } /// /// 是否实名认证 /// public bool IsRealAuthentication { get; set; } /// /// 设置推广账号 /// public bool IsPromote { get; set; } public string Contact { get; set; } } }