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 { /// /// 用户ID /// public Guid UserId { get; set; } /// /// 用户名称 /// [NotMapped] public string UserName { get; set; } /// /// 分支ID /// public Guid BranchId { get; set; } /// /// 分支机构名称 /// [NotMapped] public string BranchName { get; set; } public virtual ICollection Roles { get; set; } = new Collection(); } }