username@email.com
2024-09-25 9ff87793beacf5069c374b6e6274fa651179a7f3
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
using cylsg.Core;
using cylsg.Core.Attributes;
using Microsoft.AspNetCore.Routing.Constraints;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Microsoft.AspNetCore.Razor.Language.TagHelperMetadata;
 
namespace cylsg.Model.UserModel
{
    /// <summary>
    /// 用户公司
    /// </summary>
    [Description("用户公司")]
    [CoderFirst]
    public class UserCompany : BaseModel
    {
        /// <summary>
        /// 用户公司Id
        /// </summary>
        [SugarColumn(ColumnDescription = "用户公司ID", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
 
        /// <summary>
        /// 用户id
        /// </summary>
        [SugarColumn(ColumnDescription = "用户id")]
        public int UserId { get; set; }
 
        /// <summary>
        /// 营业执照路径
        /// </summary>
        [SugarColumn(ColumnDescription = "营业执照路径", ColumnDataType = "nvarchar(500)")]
        public string BusinessLicense { get; set; }
 
       
 
        /// <summary>
        /// 企业名称
        /// </summary>
        [SugarColumn(ColumnDescription = "企业名称", ColumnDataType = "nvarchar(100)", IsNullable = true)]
        public string Suppliername { get; set; }
 
        /// <summary>
        /// 注册时间
        /// </summary>
        [SugarColumn(ColumnDescription = "注册时间", ColumnDataType = "nvarchar(50)", IsNullable = true)]
        public string Regtime { get; set; }
 
        /// <summary>
        /// 联系地址
        /// </summary>
        [SugarColumn(ColumnDescription = "联系地址", ColumnDataType = "nvarchar(500)", IsNullable = true)]
        public string Address { get; set; }
 
        /// <summary>
        /// 企业注册号
        /// </summary>
        [SugarColumn(ColumnDescription = "企业注册号", ColumnDataType = "nvarchar(30)", IsNullable = true)]
        public string Suppliercode { get; set; }
 
 
        /// <summary>
        /// 联系人
        /// </summary>
        [SugarColumn(ColumnDescription = "联系人", ColumnDataType = "nvarchar(50)", IsNullable = true)]
        public string Contact { get; set; }
 
 
        /// <summary>
        /// 联系电话
        /// </summary>
        [SugarColumn(ColumnDescription = "联系电话", ColumnDataType = "nvarchar(50)", IsNullable = true)]
        public string Phone { get; set; }
 
 
 
        /// <summary>
        /// 公司简介
        /// </summary>
        [SugarColumn(ColumnDescription = "公司简介", ColumnDataType = "nvarchar(2000)", IsNullable = true)]
        public string Resume { get; set; }
 
 
        /// <summary>
        /// 充值余额
        /// </summary>
       [SugarColumn(ColumnDescription = "充值余额",  Length = 18,DecimalDigits =2 , IsNullable = true)]
        public decimal? ChongZhiYue { get; set; }
 
        /// <summary>
        /// 是否可以充值,工人提现
        /// </summary>
        [SugarColumn(ColumnDescription = "是否可以充值,工人提现", IsNullable = true)]
        public bool? IsTiXian { get; set; }
 
 
        /// <summary>
        /// 是否管理员
        /// </summary>
        [SugarColumn(ColumnDescription = "是否管理员", IsNullable = true)]
        public bool? IsAdmin { get; set; }
    }
}