RDBMS/RDBMS_lab4/Models/Buyer.cs

31 lines
745 B
C#
Raw Permalink Normal View History

2024-05-12 17:52:28 +04:00
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
#nullable disable
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace RDBMS_lab4.Models;
/// <summary>
/// Таблица клиентов
/// </summary>
[Table("buyers")]
public partial class Buyer
{
[Key]
[Column("id")]
public int Id { get; set; }
[Required]
[Column("telephon")]
public string Telephon { get; set; }
[Required]
[Column("name")]
public string Name { get; set; }
[InverseProperty("Buyer")]
public virtual Timetable Timetable { get; set; }
}