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
{
///
/// 用户公司
///
[Description("用户公司")]
[CoderFirst]
public class UserCompany : BaseModel
{
///
/// 用户公司Id
///
[SugarColumn(ColumnDescription = "用户公司ID", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
///
/// 用户id
///
[SugarColumn(ColumnDescription = "用户id")]
public int UserId { get; set; }
///
/// 营业执照路径
///
[SugarColumn(ColumnDescription = "营业执照路径", ColumnDataType = "nvarchar(500)")]
public string BusinessLicense { get; set; }
///
/// 企业名称
///
[SugarColumn(ColumnDescription = "企业名称", ColumnDataType = "nvarchar(100)", IsNullable = true)]
public string Suppliername { get; set; }
///
/// 注册时间
///
[SugarColumn(ColumnDescription = "注册时间", ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string Regtime { get; set; }
///
/// 联系地址
///
[SugarColumn(ColumnDescription = "联系地址", ColumnDataType = "nvarchar(500)", IsNullable = true)]
public string Address { get; set; }
///
/// 企业注册号
///
[SugarColumn(ColumnDescription = "企业注册号", ColumnDataType = "nvarchar(30)", IsNullable = true)]
public string Suppliercode { get; set; }
///
/// 联系人
///
[SugarColumn(ColumnDescription = "联系人", ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string Contact { get; set; }
///
/// 联系电话
///
[SugarColumn(ColumnDescription = "联系电话", ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string Phone { get; set; }
///
/// 公司简介
///
[SugarColumn(ColumnDescription = "公司简介", ColumnDataType = "nvarchar(2000)", IsNullable = true)]
public string Resume { get; set; }
///
/// 充值余额
///
[SugarColumn(ColumnDescription = "充值余额", Length = 18,DecimalDigits =2 , IsNullable = true)]
public decimal? ChongZhiYue { get; set; }
///
/// 是否可以充值,工人提现
///
[SugarColumn(ColumnDescription = "是否可以充值,工人提现", IsNullable = true)]
public bool? IsTiXian { get; set; }
///
/// 是否管理员
///
[SugarColumn(ColumnDescription = "是否管理员", IsNullable = true)]
public bool? IsAdmin { get; set; }
}
}