You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

44 lines
1.0 KiB

using System;
using Volo.Abp.Domain.Entities.Auditing;
namespace BaseService.RelationBaseData
{
public class BranchRole : CreationAuditedEntity
{
/// <summary>
/// Id of the Role.
/// </summary>
public Guid RoleId { get; set; }
/// <summary>
/// Id of the Branch />.
/// </summary>
public Guid BranchId { get; set; }
/// <summary>
/// Initializes a new instance of the BranchRole/> class.
/// </summary>
protected BranchRole()
{
}
/// <summary>
/// Initializes a new instance of the BranchRole/> class.
/// </summary>
/// <param name="roleId">Id of the Role.</param>
/// <param name="branchId">Id of the Branch/>.</param>
public BranchRole(Guid roleId, Guid branchId)
{
RoleId = roleId;
BranchId = branchId;
}
public override object[] GetKeys()
{
return new object[] { BranchId, RoleId };
}
}
}