DepartmentProject/DepartmentPortal/Common/CoreModels/ModelsDepartment/IStudentModel.cs

40 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using CoreModels.Enums.Department;
using CoreModels.Tools;
using System;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{
[EntityDescription("Student", "Студент кафедры")]
[EntityDependency("User", "UserId", "К какому пользователю относится студент")]
[EntityDependency("StudentGroup", "StudentGroupId", "К какой группе относится студент")]
[EntityDependency("EnrollmentYear", "EnrollmentYearId", "К какому году поступления/выпуска относится")]
public interface IStudentModel : IId
{
Guid UserId { get; }
Guid? StudentGroupId { get; }
Guid? EnrollmentYearId { get; }
string Iduniv { get; }
string NumberOfBook { get; }
string LastName { get; }
string FirstName { get; }
string Patronymic { get; }
string Email { get; }
string Description { get; }
StudentState StudentState { get; }
byte[] Photo { get; }
bool IsSteward { get; }
}
}