移动系统liao
2024-08-15 d6e560e1d30bd6af259b0c07ffb51b9caf8ab925
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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; }
    }
}