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.
iot/projects/UserCenter/Application/Domain/Entities/UserDepartment.cs

15 lines
405 B

using Infrastructure.Domain;
using System;
using System.ComponentModel.DataAnnotations;
namespace Application.Domain.Entities
{
[Display(Name = "用户部门")]
public class UserDepartment : BaseEntity
{
public Guid UserId { get; set; }
public Guid DepartmentId { get; set; }
public User User { get; set; }
public Department Department { get; set; }
}
}