移动系统liao
2025-02-17 557c2711a3e103ebc3d0492344eca9730d5e92b2
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/***********************************************************************
 *            Project: baifenBinfa
 *        ProjectName: 百分兵法管理系统                               
 *                Web: http://chuanyin.com                     
 *             Author:                                        
 *              Email: 34161541@qq.com
 *         CreateTime: 2021-06-08 22:14:59
 *        Description: 暂无
***********************************************************************/ 
using SqlSugar;
using System.ComponentModel.DataAnnotations;
 
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 获取授权方的帐号基本信息表
    /// </summary>
    [SugarTable("CoreCmsWeixinAuthor",TableDescription = "获取授权方的帐号基本信息表")]
    public partial class CoreCmsWeixinAuthor
    {
        /// <summary>
        /// 获取授权方的帐号基本信息表
        /// </summary>
        public CoreCmsWeixinAuthor()
        {
        }
 
        /// <summary>
        /// 序列
        /// </summary>
        [Display(Name = "序列")]
        [SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 id { get; set; }
        /// <summary>
        /// 授权方昵称
        /// </summary>
        [Display(Name = "授权方昵称")]
        [SugarColumn(ColumnDescription = "授权方昵称", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String nickName { get; set; }
        /// <summary>
        /// 授权方头像
        /// </summary>
        [Display(Name = "授权方头像")]
        [SugarColumn(ColumnDescription = "授权方头像", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String headImg { get; set; }
        /// <summary>
        /// 默认为0
        /// </summary>
        [Display(Name = "默认为0")]
        [SugarColumn(ColumnDescription = "默认为0", IsNullable = true)]
        [StringLength(10, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String serviceTypeInfo { get; set; }
        /// <summary>
        /// 授权方认证类型
        /// </summary>
        [Display(Name = "授权方认证类型")]
        [SugarColumn(ColumnDescription = "授权方认证类型", IsNullable = true)]
        public System.Int32? verifyTypeInfo { get; set; }
        /// <summary>
        /// 小程序的原始ID
        /// </summary>
        [Display(Name = "小程序的原始ID")]
        [SugarColumn(ColumnDescription = "小程序的原始ID", IsNullable = true)]
        [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String userName { get; set; }
        /// <summary>
        /// 帐号介绍
        /// </summary>
        [Display(Name = "帐号介绍")]
        [SugarColumn(ColumnDescription = "帐号介绍", IsNullable = true)]
        public System.String signature { get; set; }
        /// <summary>
        /// 小程序的主体名称
        /// </summary>
        [Display(Name = "小程序的主体名称")]
        [SugarColumn(ColumnDescription = "小程序的主体名称", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String principalName { get; set; }
        /// <summary>
        /// 功能的开通状况(0代表未开通,1代表已开通): open_store:是否开通微信门店功能 open_scan:是否开通微信扫商品功能 open_pay:是否开通微信支付功能 open_card:是否开通微信卡券功能 open_shake:是否开通微信摇一摇功能
        /// </summary>
        [Display(Name = "功能的开通状况(0代表未开通,1代表已开通): open_store:是否开通微信门店功能 open_scan:是否开通微信扫商品功能 open_pay:是否开通微信支付功能 open_card:是否开通微信卡券功能 open_shake:是否开通微信摇一摇功能")]
        [SugarColumn(ColumnDescription = "功能的开通状况(0代表未开通,1代表已开通): open_store:是否开通微信门店功能 open_scan:是否开通微信扫商品功能 open_pay:是否开通微信支付功能 open_card:是否开通微信卡券功能 open_shake:是否开通微信摇一摇功能", IsNullable = true)]
        public System.String businessInfo { get; set; }
        /// <summary>
        /// 二维码图片的URL
        /// </summary>
        [Display(Name = "二维码图片的URL")]
        [SugarColumn(ColumnDescription = "二维码图片的URL", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String qrcodeUrl { get; set; }
        /// <summary>
        /// 授权信息
        /// </summary>
        [Display(Name = "授权信息")]
        [SugarColumn(ColumnDescription = "授权信息", IsNullable = true)]
        public System.String authorizationInfo { get; set; }
        /// <summary>
        /// 授权方appid
        /// </summary>
        [Display(Name = "授权方appid")]
        [SugarColumn(ColumnDescription = "授权方appid", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String appId { get; set; }
        /// <summary>
        /// 授权方AppSecret
        /// </summary>
        [Display(Name = "授权方AppSecret")]
        [SugarColumn(ColumnDescription = "授权方AppSecret", IsNullable = true)]
        [StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String appSecret { get; set; }
        /// <summary>
        /// 可根据这个字段判断是否为小程序类型授权,有值为小程序
        /// </summary>
        [Display(Name = "可根据这个字段判断是否为小程序类型授权,有值为小程序")]
        [SugarColumn(ColumnDescription = "可根据这个字段判断是否为小程序类型授权,有值为小程序", IsNullable = true)]
        public System.String miniprograminfo { get; set; }
        /// <summary>
        /// 小程序授权给开发者的权限集列表,ID为17到19时分别代表: 17.帐号管理权限 18.开发管理权限 19.客服消息管理权限 请注意: 1)该字段的返回不会考虑小程序是否具备该权限集的权限(因为可能部分具备)
        /// </summary>
        [Display(Name = "小程序授权给开发者的权限集列表,ID为17到19时分别代表: 17.帐号管理权限 18.开发管理权限 19.客服消息管理权限 请注意: 1)该字段的返回不会考虑小程序是否具备该权限集的权限(因为可能部分具备)")]
        [SugarColumn(ColumnDescription = "小程序授权给开发者的权限集列表,ID为17到19时分别代表: 17.帐号管理权限 18.开发管理权限 19.客服消息管理权限 请注意: 1)该字段的返回不会考虑小程序是否具备该权限集的权限(因为可能部分具备)", IsNullable = true)]
        public System.String funcInfo { get; set; }
        /// <summary>
        /// 刷新token
        /// </summary>
        [Display(Name = "刷新token")]
        [SugarColumn(ColumnDescription = "刷新token", IsNullable = true)]
        [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String authorizerRefreshToken { get; set; }
        /// <summary>
        /// token
        /// </summary>
        [Display(Name = "token")]
        [SugarColumn(ColumnDescription = "token", IsNullable = true)]
        [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String authorizerAccessToken { get; set; }
        /// <summary>
        /// 绑定类型,1为第三方授权绑定,2为自助绑定
        /// </summary>
        [Display(Name = "绑定类型,1为第三方授权绑定,2为自助绑定")]
        [SugarColumn(ColumnDescription = "绑定类型,1为第三方授权绑定,2为自助绑定", IsNullable = true)]
        public System.Int32? bindType { get; set; }
        /// <summary>
        /// 授权类型,默认b2c
        /// </summary>
        [Display(Name = "授权类型,默认b2c")]
        [SugarColumn(ColumnDescription = "授权类型,默认b2c", IsNullable = true)]
        [StringLength(10, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String authorType { get; set; }
        /// <summary>
        /// 绑定授权到期时间
        /// </summary>
        [Display(Name = "绑定授权到期时间")]
        [SugarColumn(ColumnDescription = "绑定授权到期时间", IsNullable = true)]
        public System.Int32? expiresIn { get; set; }
        /// <summary>
        /// 小程序授权时间
        /// </summary>
        [Display(Name = "小程序授权时间")]
        [SugarColumn(ColumnDescription = "小程序授权时间", IsNullable = true)]
        public System.DateTime? createTime { get; set; }
        /// <summary>
        /// 小程序更新时间
        /// </summary>
        [Display(Name = "小程序更新时间")]
        [SugarColumn(ColumnDescription = "小程序更新时间", IsNullable = true)]
        public System.DateTime? updateTime { get; set; }
    }
}