|
|
|
|
namespace Ds.Modules.DsEntity.Auth
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class Ds_Sys_Tenant : BaseEntityTenant
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TenantName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业编码 唯一性
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TenantCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 电话 唯一性
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TenantPhone { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TenantEmail { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//租户设置表
|
|
|
|
|
//阿里云 腾讯 企业微信 数据库 短信 邮箱 企业信息
|
|
|
|
|
//key value mongon 租户id
|
|
|
|
|
|
|
|
|
|
public class Ds_Sys_Tenant_Setting : BaseEntityTenant
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TenantId { get; set; }
|
|
|
|
|
|
|
|
|
|
///
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设置类型
|
|
|
|
|
/// 1 数据库 2 阿里云 3 腾讯 4 企业微信 5 短信 6 邮箱 7 企业信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? SettingType { get; set; }
|
|
|
|
|
|
|
|
|
|
///
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设置值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SettingValue { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户下面的企业信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class Ds_Sys_Company_Tenant : BasEntityNoTenant
|
|
|
|
|
{
|
|
|
|
|
//属于哪个租户的
|
|
|
|
|
public long TenantId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业详细信
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long TenantInfoId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司详细信息表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class Ds_Sys_Tenant_Info : BaseEntityTenant
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 营业执照照片
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BusinessPhoto { get; set; }
|
|
|
|
|
|
|
|
|
|
public string BusinessPhotoName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 法人身份证正面照片
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Legalpersonphoto { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Legalpersonphotoname { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 法人身份证反面照片
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Legalbackphoto { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Legalbackphotoname { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 法人手持身份证照片
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Legalhandphoto { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Legalhandphotoname { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TenantName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业编码 唯一性
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TenantCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// /// 企业logo
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenantlogo { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Tenantlogoname { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TenantAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TenantPhone { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public string TenantEmail { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业类型
|
|
|
|
|
/// 1 企业 2 国营
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? TenantType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业简介
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TenantIntroduction { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业网址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TenantUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业微信
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TenantWeChat { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|