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.
30 lines
710 B
30 lines
710 B
using System;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|
using Volo.Abp.MultiTenancy;
|
|
|
|
namespace BaseService.RelationData.Dto
|
|
{
|
|
public class BranchRoleDto : CreationAuditedEntity
|
|
{
|
|
|
|
/// <summary>
|
|
/// Id of the Role.
|
|
/// </summary>
|
|
public Guid RoleId { get; set; }
|
|
|
|
public string RoleName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Id of the <see cref="Branch"/>.
|
|
/// </summary>
|
|
public Guid BranchId { get; set; }
|
|
|
|
public string BranchName { get; set; }
|
|
|
|
public override object[] GetKeys()
|
|
{
|
|
return new object[] { BranchId, RoleId };
|
|
}
|
|
}
|
|
}
|
|
|