Add user management domain and seed model

This commit is contained in:
2026-08-18 15:43:33 +05:30
parent 878847302e
commit ea2e5229c8
11 changed files with 267 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
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; }
}
}