移动系统liao
2024-08-15 d47565bee39818a5bed69696d151c018473f0f08
cylsg/cylsg.Model/UserModel/User.cs
@@ -15,7 +15,7 @@
    /// </summary>
    [Description("用户模型")]
    [CoderFirst]
    public class User:BaseModelBase
    public class User: BaseModel
    {
        /// <summary>
        /// 用户Id
@@ -26,7 +26,7 @@
        /// <summary>
        /// 电话
        /// </summary>
        [SugarColumn(ColumnDescription = "电话")]
        [SugarColumn(ColumnDescription = "电话", IsNullable = true)]
        public string Phone { get; set; }
        /// <summary>
@@ -43,25 +43,25 @@
        /// <summary>
        /// 昵称
        /// </summary>
        [SugarColumn(ColumnDescription = "昵称", Length = 100)]
        public string Nickname { get; set; }
        [SugarColumn(ColumnDescription = "昵称", Length = 100, IsNullable =true)]
        public string? Nickname { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        [SugarColumn(ColumnDescription = "密码", Length = 100)]
        public string PassWord { get; set; }
        [SugarColumn(ColumnDescription = "密码", Length = 100,IsNullable = true)]
        public string? PassWord { get; set; }
        /// <summary>
        /// 头像地址
        /// </summary>
        [SugarColumn(ColumnDescription = "头像地址")]
        public string Avatar { get; set; }
        [SugarColumn(ColumnDescription = "头像地址" ,IsNullable =true)]
        public string? Avatar { get; set; }
        /// <summary>
        /// 微信APPID
        /// 微信WxOpenId
        /// </summary>
        [SugarColumn(ColumnDescription = "WxAppId",Length =30)]
        public string?  WxAppId { get; set; }
        [SugarColumn(ColumnDescription = "WxOpenId", Length =100,IsNullable = true)]
        public string?  WxOpenId { get; set; }
    }
}