SysUserRole.cs 581 B

1234567891011121314151617181920212223242526
  1. namespace Model
  2. {
  3. /// <summary>
  4. /// 用户角色表 sys_user_role
  5. /// </summary>
  6. [SugarTable("sys_user_role", "用户角色表")]
  7. [Tenant("0")]
  8. public class SysUserRole
  9. {
  10. /// <summary>
  11. /// 用户ID
  12. /// </summary>
  13. [SugarColumn(ColumnDescription = "用户ID", ColumnName = "user_id")]
  14. public long UserId { get; set; }
  15. /// <summary>
  16. /// 角色ID
  17. /// </summary>
  18. [SugarColumn(ColumnDescription = "角色ID", ColumnName = "role_id")]
  19. public long RoleId { get; set; }
  20. }
  21. }