namespace SafeCampus.System;
///
/// 系统关系表
///
[SugarTable("sys_relation", TableDescription = "系统关系表")]
[Tenant(SqlSugarConst.DB_DEFAULT)]
[IgnoreInitTable]
public class SysRelation : PrimaryKeyEntity
{
///
/// 对象ID
///
[SugarColumn(ColumnName = "ObjectId", ColumnDescription = "对象ID", IsNullable = false)]
public long ObjectId { get; set; }
///
/// 目标ID
///
[SugarColumn(ColumnName = "TargetId", ColumnDescription = "目标ID", IsNullable = true)]
public string TargetId { get; set; }
///
/// 分类
///
[SugarColumn(ColumnName = "Category", ColumnDescription = "分类", Length = 200, IsNullable = false)]
public string Category { get; set; }
}