Initial code commit.

This commit is contained in:
2026-02-03 10:44:31 +08:00
parent 8927c5ae0e
commit d69fe2cc1f
99 changed files with 10839 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
using Microsoft.AspNetCore.Identity;
using Sufi.Demo.PeopleDirectory.Domain.Common;
using System.ComponentModel.DataAnnotations.Schema;
namespace Sufi.Demo.PeopleDirectory.Persistence.Models.Identity
{
public class AppRoleClaim : IdentityRoleClaim<string>, IAuditableEntity<int>
{
[Column(TypeName = "character varying(100)")]
public string? Description { get; set; }
[Column(TypeName = "character varying(100)")]
public string? Group { get; set; }
public string? CreatedBy { get; set; }
public DateTime CreatedOn { get; set; }
public string? LastModifiedBy { get; set; }
public DateTime? LastModifiedOn { get; set; }
public AppRoleClaim() : base() { }
public AppRoleClaim(string? description = null, string? group = null) : base()
{
Description = description;
Group = group;
}
}
}