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 = "电话", ColumnDataType = "nvarchar(30)")] public string Phone { get; set; } /// /// 名称 /// [SugarColumn(ColumnDescription = "名称", ColumnDataType = "nvarchar(100)")] public string name { get; set; } /// /// 电话号码 /// [SugarColumn(ColumnDescription = "电话号码", ColumnDataType = "nvarchar(30)")] public string ItCode { get; set; } /// /// 昵称 /// [SugarColumn(ColumnDescription = "用户ID", ColumnDataType = "nvarchar(100)")] public string Nickname { get; set; } /// /// 密码 /// [SugarColumn(ColumnDescription = "密码", ColumnDataType = "nvarchar(100)")] public string PassWord { get; set; } /// /// 头像地址 /// [SugarColumn(ColumnDescription = "头像地址", ColumnDataType = "nvarchar(500)")] public string Avatar { get; set; } } }