2022-05-20 18:19:52 +05:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
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 AsbCloudDb.Model
|
|
|
|
|
{
|
|
|
|
|
[Table("t_driller"), Comment("Бурильщик")]
|
2022-05-22 21:18:43 +05:00
|
|
|
|
public class Driller: IId
|
2022-05-20 18:19:52 +05:00
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
[Column("id"),Comment("Идентификатор")]
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("name"), Comment("Имя")]
|
|
|
|
|
[StringLength(255)]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("surname"), Comment("Фамилия")]
|
|
|
|
|
[StringLength(255)]
|
|
|
|
|
public string Surname { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("patronymic"), Comment("Отчество")]
|
|
|
|
|
[StringLength(255)]
|
|
|
|
|
public string Patronymic { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|