|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace Ds.Modules.DsEntity.Auth
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class Ds_Sys_Tenant : BaseEntityTenant
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenant_Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业编码 唯一性
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenant_Code { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 电话 唯一性
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenant_Phone { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenant_Email { 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 Tenant_Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业详细信
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long Tenant_Info_Id { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户详细信息表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class Ds_Sys_Tenant_Info : BaseEntityTenant
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 营业执照照片
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Business_license_photo { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Business_license_photo_name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 法人身份证正面照片
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Legal_person_id_card_front_photo { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Legal_person_id_card_front_photo_name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 法人身份证反面照片
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Legal_person_id_card_back_photo { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Legal_person_id_card_back_photo_name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 法人手持身份证照片
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Legal_person_hand_id_card_photo { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Legal_person_hand_id_card_photo_name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenant_Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业编码 唯一性
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenant_Code { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// /// 企业logo
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenant_logo { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Tenant_logo_name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenant_Address { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenant_Phone { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenant_Email { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业类型
|
|
|
|
|
/// 1 企业 2 国营
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? TenantType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业简介
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenant_Introduction { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业网址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenant_Url { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业微信
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tenant_WeChat { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|