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; }
|
}
|
}
|