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.
19 lines
575 B
19 lines
575 B
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace TeacherExt.Entities
|
|
{
|
|
public class Organization
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int Id { get; set; }
|
|
|
|
public int AreaId { get; set; }
|
|
public int OrganId { get; set; }
|
|
public int OrganType { get; set; }
|
|
public string Name { get; set; }
|
|
public bool IsUsed { get; set; }
|
|
[NotMapped]
|
|
public List<Organization> Children { get; set; } = new List<Organization>();
|
|
}
|
|
} |