UserRole.cs 411 Bytes

using HHECS.DataContract;

namespace HHECS.RobotTool.Model
{
    /// <summary>
    /// 用户角色关联表
    /// </summary>
    internal class UserRole : BaseEntityCU<int>
    {
        public int UserId { get; set; }
        public int RoleId { get; set; }

        // 导航属性
        public virtual User User { get; set; } = null!;
        public virtual Role Role { get; set; } = null!;
    }
}