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.
21 lines
722 B
21 lines
722 B
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)]
|
|
[AdminModule]
|
|
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; }
|
|
}
|
|
} |