SUBD_Labs/BeautySalonDatabaseImplement/Models/MasterService.cs

18 lines
483 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
namespace BeautySalonDatabaseImplement.Models
{
public class MasterService
{
public int Id { get; set; }
[Required]
public int MasterId { get; set; }
[Required]
public int ServiceId { get; set; }
[Required]
2023-05-13 23:36:15 +04:00
public double Wage { get; set; }
public virtual Service Service { get; set; } = new();
public virtual Master Master { get; set; } = new();
}
}