using Newtonsoft.Json;
using System;
namespace Admin.Core.Service.Admin.Tenant.Output
{
public class TenantListOutput
{
///
/// 主键
///
public long Id { get; set; }
///
/// 授权用户
///
public long? UserId { get; set; }
///
/// 授权角色
///
public long? RoleId { get; set; }
///
/// 企业编码
///
public string Code { get; set; }
///
/// 企业名称
///
public string Name { get; set; }
///
/// 姓名
///
public string RealName { get; set; }
///
/// 手机号码
///
public string Phone { get; set; }
///
/// 邮箱地址
///
public string Email { get; set; }
///
/// 数据库
///
[JsonIgnore]
public FreeSql.DataType? DbType { get; set; }
///
/// 数据库名称
///
public string DbTypeName => DbType.ToDescriptionOrString();
///
/// 连接字符串
///
public string ConnectionString { get; set; }
///
/// 空闲时间(分)
///
public int? IdleTime { get; set; }
///
/// 启用
///
public bool Enabled { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
/// 创建时间
///
public DateTime? CreatedTime { get; set; }
}
}