CSharp-Single-EFCore/Bunny.Dao/Entity/System/User/UserRoles.cs

13 lines
366 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace Bunny.Dao.Entity.System.User;
[Table("System_UserRoles")]
[Comment("系统用户和角色关系表")]
public class UserRoles : BaseEntity
{
[Comment("用户id")] public Guid UserId { get; init; }
[Comment("角色id")] public Guid RoleId { get; init; }
}