mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
Add unit test
This commit is contained in:
32
Src/Asp.Net/SqlServerTest/UnitTest/Models/UserRoleEntity.cs
Normal file
32
Src/Asp.Net/SqlServerTest/UnitTest/Models/UserRoleEntity.cs
Normal 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; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user