using DocumentServiceAPI.Enum; using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DocumentServiceAPI.Model.Permissions { /// /// 租户权限 /// public class TenantPermissions: BaseModel { /// /// id /// [Display(Name = "id ")] [SugarColumn(ColumnDescription = "id " ,IsPrimaryKey =true,IsIdentity =true)] public int Id { get; set; } /// /// 租户ID /// [Display(Name = "租户ID ")] [SugarColumn(ColumnDescription = "租户ID ")] public int TenantId { get; set; } /// /// 最大企业个数 /// [Display(Name = "最大企业个数 ")] [SugarColumn(ColumnDescription = "最大企业个数 ")] public int UnitMaxCount { get; set; } /// /// 最大员工数量 /// [Display(Name = "最大员工数量 ")] [SugarColumn(ColumnDescription = "最大员工数量 ")] public int EmployeeMaxCount { get; set; } /// /// 到期时间 /// [Display(Name = "到期时间 ")] [SugarColumn(ColumnDescription = "到期时间 ")] public DateTime OverTime { get; set; } /// /// 描述 /// [Display(Name = "描述 ")] [SugarColumn(ColumnDescription = "描述 ")] public string? Description { get; set; } /// /// 权限分类 /// public TenantPermissionsType PermissionsType { get; set; } } /// /// 权限表类型 /// public enum TenantPermissionsType { /// /// 管理系统 /// [Description( "管理系统权限")] Manage, /// /// 标书制作 /// 、 [Description("管理系统权限")] Document } }