Add unit test

This commit is contained in:
sunkaixuna
2022-01-10 16:12:47 +08:00
parent 6b7a0433e8
commit a6dd3c7f74
5 changed files with 290 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlSugarDemo
{
/// <summary>
/// 账号角色表
/// </summary>
[SugarTable("Unit_SYS_UserRole")]
public partial class UserRoleEntity
{
/// <summary>
/// 系统账号Id
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public Guid UserId { get; set; }
/// <summary>
/// 角色Id
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public Guid RoleId { get; set; }
}
}