using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace New_College.Model.Models
{
///
/// 租户表
///
[Table("sys_tenant")]
public class Sys_Tenant : EntityModel
{
///
/// 公司名称
///
[Required, MaxLength(30)]
public string Name { get; set; }
///
/// 管理员名称
///
[Required, MaxLength(20)]
public string AdminName { get; set; }
///
/// 主机
///
[MaxLength(100)]
public string Host { get; set; }
///
/// 电子邮箱
///
[MaxLength(50)]
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; }
}
}