using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Core.Entity;
///
/// 租户表
///
[SugarTable("sys_tenant")]
[Description("租户表")]
public class SysTenant : DEntityBase
{
///
/// 公司名称
///
[Required, MaxLength(30)]
public string Name { get; set; }
///
/// 管理员名称
///
[Required, MaxLength(20)]
public string AdminName { get; set; }
///
/// 主机
///
[MaxLength(100)]
public string Host { get; set; }
///
/// 电子邮箱
///
[MaxLength(20)]
public string Email { get; set; }
///
/// 电话
///
[MaxLength(20)]
public string Phone { get; set; }
///
/// 数据库连接
///
[MaxLength(200)]
public string Connection { get; set; }
///
/// 架构
///
[MaxLength(50)]
public string Schema { get; set; }
///
/// 备注
///
[MaxLength(100)]
public string Remark { get; set; }
///
/// 租户类型
///
public TenantTypeEnum TenantType { get; set; }
///
/// 大简云公司ID
///
[MaxLength(50)]
public string CompId { get; set; }
}