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.

20 lines
683 B

using Infrastructure.Domain;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace IoT.Shared.Application.Domain.Entities
{
[Display(Name = "部门")]
[Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll)]
public class Department : BaseTreeEntity<Department>
{
public DepartmentType Type { get; set; }
public string CustomType { get; set; }
public Guid OrganId { get; set; }
public Organ Organ { get; set; }
public List<DepartmentUser> DepartmentUsers { get; set; } = new List<DepartmentUser>();
public List<Job> Jobs { get; set; } = new List<Job>();
}
}