using System; using System.Collections.Generic; using System.Linq; using SqlSugar; using LearningOfficer.OA.Core.Entities; using LearningOfficer.OA.Common.Configs; namespace LearningOfficer.OA.Core.Entities.UserCenter { /// /// 云校 /// [SugarTable("cloudschool"), Tenant(nameof(ConnectionStringsSettings.UserCenterDb))] public class Cloudschool : BaseEntity { /// /// 备 注:云校名称 /// 默认值: /// [SugarColumn(ColumnName = "Name")] public string Name { get; set; } = null!; /// /// 备 注:启用状态 /// 默认值: /// [SugarColumn(ColumnName = "Enable")] public bool Enable { get; set; } = true; /// /// 备 注:添加时间 /// 默认值: /// [SugarColumn(ColumnName = "CreateTime", IsOnlyIgnoreUpdate = true)] public DateTime CreateTime { get; set; } = DateTime.Now; /// /// 备 注:删除状态 /// 默认值: /// [SugarColumn(ColumnName = "DeleteState")] public bool DeleteState { get; set; } /// /// 备 注:更新时间 /// 默认值: /// [SugarColumn(ColumnName = "UpdatedTime", IsOnlyIgnoreInsert = true)] public DateTime? UpdatedTime { get; set; } = DateTime.Now; } }