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.
38 lines
967 B
38 lines
967 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Volo.Abp.Application.Dtos;
|
|
using Volo.Abp.Domain.Entities;
|
|
using Volo.Abp.MultiTenancy;
|
|
|
|
namespace BaseService.BaseData.UserBranchRoleManagement.Dto
|
|
{
|
|
public class UserBranchDto : EntityDto<Guid>
|
|
{
|
|
/// <summary>
|
|
/// 用户ID
|
|
/// </summary>
|
|
public Guid UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户名称
|
|
/// </summary>
|
|
[NotMapped]
|
|
public string UserName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 分支ID
|
|
/// </summary>
|
|
public Guid BranchId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 分支机构名称
|
|
/// </summary>
|
|
[NotMapped]
|
|
public string BranchName { get; set; }
|
|
|
|
public virtual ICollection<UserBranchRole> Roles { get; set; } = new Collection<UserBranchRole>();
|
|
|
|
}
|
|
}
|
|
|