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

21 lines
511 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarShowroomDatabaseStorage.Entities
{
[Table("sale_car")]
public class SaleCar
{
[Column("sale_id")]
public int SaleId { get; set; }
public virtual Sale? Sale { get; set; }
[Column("car_id")]
public int CarId { get; set; }
public virtual Car? Car { get; set; }
}
}