using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OpenAuth.Repository.Domain { [SugarTable("sys_userrelation")] public class SysUserRelation { #region 实体成员 /// /// 用户关系主键 /// [SugarColumn(IsPrimaryKey = true)] public string UserRelationId { get; set; } /// /// 用户主键 /// public string UserId { get; set; } /// /// 分类:1-角色2-岗位-3部门 /// public int? Category { get; set; } /// /// 对象主键 /// public string ObjectId { get; set; } /// /// 创建时间 /// public DateTime? CreateDate { get; set; } #endregion } }