24 lines
539 B
C#
24 lines
539 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace InSituLaboratory.Entities
|
|||
|
|
{
|
|||
|
|
[Table("role_user")]
|
|||
|
|
public class RoleUser
|
|||
|
|
{
|
|||
|
|
[Column("role_id")]
|
|||
|
|
public int RoleId { get; set; }
|
|||
|
|
[Column("user_id")]
|
|||
|
|
public int UserId { get; set; }
|
|||
|
|
|
|||
|
|
[NotMapped]
|
|||
|
|
public SysRole SysRole { get; set; }
|
|||
|
|
[NotMapped]
|
|||
|
|
public SysUser User { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|