2023-05-13 15:11:42 +04:00
|
|
|
|
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; }
|
2023-05-13 15:11:42 +04:00
|
|
|
|
public virtual Service Service { get; set; } = new();
|
|
|
|
|
public virtual Master Master { get; set; } = new();
|
|
|
|
|
}
|
|
|
|
|
}
|