2024-10-30 21:21:10 +03:00

26 lines
859 B
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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RegistrationPatientsPolyclinic.Entities.Enums;
[Flags] // Flag - атрибут, его значения будут комбинироваться, например, если мы создадим объект от соотрудника,
// то его поле DoctorPost, то мы в него занесем только один из возможных вариантов(None, Junior, Senior, Head)
// а по атрибуту Flags позволяет хранить несколько записей
// ВАЖНО!!! Чтобы в перечеслении значения были степени двойки
public enum Diagnosis
{
None = 0,
Flu = 1,
Quinsy = 2,
Callous = 4,
Bronchitis = 8
}