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.
22 lines
748 B
22 lines
748 B
using Infrastructure.Domain;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace IoT.Shared.Application.Domain.Entities
|
|
{
|
|
[Display(Name = "部门用户")]
|
|
[Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll | ScopeType.UserRead | ScopeType.UserEdit)]
|
|
public class DepartmentUser : BaseEntity
|
|
{
|
|
public string Position { get; set; }
|
|
public DepartmentUserType Type { get; set; }
|
|
public string CustomType { get; set; }
|
|
public Guid UserId { get; set; }
|
|
public Guid DeparementId { get; set; }
|
|
public Guid? JobId { get; set; }
|
|
public User User { get; set; }
|
|
public Department Department { get; set; }
|
|
public Job Job { get; set; }
|
|
}
|
|
}
|