feat: 添加中间表

This commit is contained in:
zhangpeihang 2022-04-26 11:17:17 +08:00
parent 6decc7723d
commit 21253a1ea0
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,27 @@
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the LGPL License, Version 3.0. See License.txt in the project root for license information.
// Website: https://admin.blazor.zone
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BootStarpAdmin.DataAccess.SqlSugar.Models;
/// <summary>
///
/// </summary>
public class UserGroup
{
/// <summary>
///
/// </summary>
public string? UserId { get; set; }
/// <summary>
///
/// </summary>
public string? GroupId { get; set; }
}

View File

@ -0,0 +1,27 @@
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the LGPL License, Version 3.0. See License.txt in the project root for license information.
// Website: https://admin.blazor.zone
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BootStarpAdmin.DataAccess.SqlSugar.Models;
/// <summary>
///
/// </summary>
public class UserRole
{
/// <summary>
///
/// </summary>
public string? RoleId { get; set; }
/// <summary>
///
/// </summary>
public string? UserId { get; set; }
}