using System.ComponentModel.DataAnnotations.Schema; namespace Distribution.Models { public class RolePermission : Template { public Guid FK_RoleId { get; set; } [ForeignKey("FK_RoleId")] public Role Role { get; set; } public Guid FK_PermissionId { get; set; } [ForeignKey("FK_PermissionId")] public Permission Permission { get; set; } } }