SUBD_PIbd-23_ZakharovRA/CarShowroom/CarShowroomDatabaseStorage/Entities/SaleService.cs

22 lines
580 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarShowroomDatabaseStorage.Entities
{
[Table("sale_service")]
public class SaleService
{
[Column("sale_id")]
public int SaleId { get; set; }
public virtual Sale? Sale { get; set; }
[Column("service_id")]
public int ServiceId { get; set; }
public virtual Service? Service { get; set; }
}
}