SUBD_PIbd-21_Balberova_D.N./BeautySaloon/BeautySaloonDatabaseImplement/ServiceOrder.cs

37 lines
972 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;
namespace BeautySaloonDatabaseImplement;
/// <summary>
/// Сущность-связь услуги с заказом
/// </summary>
public partial class ServiceOrder
{
/// <summary>
/// Составной первичный ключ: идентификатор услуги
/// </summary>
public int ServiceId { get; set; }
/// <summary>
/// Составной первичный ключ: идентификатор заказа
/// </summary>
public int OrderId { get; set; }
/// <summary>
/// Время
/// </summary>
public TimeOnly Date { get; set; }
/// <summary>
/// Идентификатор сотрудника
/// </summary>
public int EmployeeId { get; set; }
public virtual Employee Employee { get; set; } = null!;
public virtual Order Order { get; set; } = null!;
public virtual Service Service { get; set; } = null!;
}