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
|
{
|
/// <summary>
|
/// 用户模型
|
/// </summary>
|
[Description("用户模型")]
|
[CoderFirst]
|
public class User:BaseModelBase
|
{
|
/// <summary>
|
/// 用户Id
|
/// </summary>
|
[SugarColumn(ColumnDescription = "用户ID", IsPrimaryKey = true, IsIdentity = true)]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 电话
|
/// </summary>
|
[SugarColumn(ColumnDescription = "电话")]
|
public string Phone { get; set; }
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
[SugarColumn(ColumnDescription = "名称",Length =100)]
|
public string name { get; set; }
|
/// <summary>
|
/// 电话号码
|
/// </summary>
|
[SugarColumn(ColumnDescription = "电话号码", Length = 30)]
|
public string ItCode { get; set; }
|
|
/// <summary>
|
/// 昵称
|
/// </summary>
|
[SugarColumn(ColumnDescription = "昵称", Length = 100)]
|
public string Nickname { get; set; }
|
|
|
/// <summary>
|
/// 密码
|
/// </summary>
|
[SugarColumn(ColumnDescription = "密码", Length = 100)]
|
public string PassWord { get; set; }
|
|
/// <summary>
|
/// 头像地址
|
/// </summary>
|
[SugarColumn(ColumnDescription = "头像地址")]
|
public string Avatar { get; set; }
|
/// <summary>
|
/// 微信APPID
|
/// </summary>
|
[SugarColumn(ColumnDescription = "WxAppId",Length =30)]
|
public string? WxAppId { get; set; }
|
}
|
}
|