using Infrastructure.Domain; using System; using System.ComponentModel.DataAnnotations; namespace Application.Domain.Entities { [Display(Name = "部门用户", Order = 93)] [Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll | ScopeType.UserRead | ScopeType.UserEdit)] [Module("基础设置", "Admin")] [ManyToMany] public class DepartmentUser : BaseEntity { public string Position { get; set; } public string Type { get; set; } public Guid OrganUserId { get; set; } public Guid DeparementId { get; set; } public Guid? JobId { get; set; } public OrganUser OrganUser { get; set; } public Department Department { get; set; } public Job Job { get; set; } } }