21 lines
513 B
C#
21 lines
513 B
C#
using GozareshgirProgramManager.Domain.RoleAgg.Entities;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using GozareshgirProgramManager.Domain._Common;
|
|
|
|
namespace GozareshgirProgramManager.Domain.PermissionAgg.Entities;
|
|
|
|
public class Permission
|
|
{
|
|
public long Id { get; private set; }
|
|
public int Code { get; private set; }
|
|
public Role Role { get; private set; }
|
|
|
|
public Permission(int code)
|
|
{
|
|
Code = code;
|
|
}
|
|
} |