平安校园
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

30 行
837 B

  1. namespace SafeCampus.Core.Entity.System;
  2. /// <summary>
  3. /// C端用户关系
  4. /// </summary>
  5. [SugarTable("client_relation", TableDescription = "关系")]
  6. [Tenant(SqlSugarConst.DB_DEFAULT)]
  7. [IgnoreInitTable]
  8. public class ClientRelation : PrimaryKeyEntity
  9. {
  10. /// <summary>
  11. /// 对象ID
  12. ///</summary>
  13. [SugarColumn(ColumnName = "ObjectId", ColumnDescription = "对象ID", IsNullable = false)]
  14. public long ObjectId { get; set; }
  15. /// <summary>
  16. /// 目标ID
  17. ///</summary>
  18. [SugarColumn(ColumnName = "TargetId", ColumnDescription = "目标ID", IsNullable = true)]
  19. public string TargetId { get; set; }
  20. /// <summary>
  21. /// 分类
  22. ///</summary>
  23. [SugarColumn(ColumnName = "Category", ColumnDescription = "分类", Length = 200, IsNullable = true)]
  24. public string Category { get; set; }
  25. }