using cylsg.Core; using cylsg.Core.Attributes; using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace cylsg.Model.UserModel { /// /// 用户模型 /// [Description("用户模型")] [CoderFirst] public class User:BaseModelBase { /// /// 用户Id /// [SugarColumn(ColumnDescription = "用户ID", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 电话 /// [SugarColumn(ColumnDescription = "电话")] public string Phone { get; set; } /// /// 名称 /// [SugarColumn(ColumnDescription = "名称",Length =100)] public string name { get; set; } /// /// 电话号码 /// [SugarColumn(ColumnDescription = "电话号码", Length = 30)] public string ItCode { get; set; } /// /// 昵称 /// [SugarColumn(ColumnDescription = "昵称", Length = 100)] public string Nickname { get; set; } /// /// 密码 /// [SugarColumn(ColumnDescription = "密码", Length = 100)] public string PassWord { get; set; } /// /// 头像地址 /// [SugarColumn(ColumnDescription = "头像地址")] public string Avatar { get; set; } /// /// 微信APPID /// [SugarColumn(ColumnDescription = "WxAppId",Length =30)] public string? WxAppId { get; set; } } }