2021-06-24 13:02:31 +05:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudDb.Model
|
|
|
|
|
{
|
2022-05-06 10:58:52 +05:00
|
|
|
|
#nullable disable
|
2021-08-18 15:38:33 +05:00
|
|
|
|
[Table("t_well_operation_category"), Comment("Справочник операций на скважине")]
|
2021-09-09 12:31:12 +05:00
|
|
|
|
public class WellOperationCategory : IId
|
2021-06-24 13:02:31 +05:00
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
[Column("id")]
|
|
|
|
|
public int Id { get; set; }
|
2021-08-13 14:50:13 +05:00
|
|
|
|
|
2021-08-16 14:19:43 +05:00
|
|
|
|
[Column("name"), Comment("Название категории операции")]
|
2021-06-24 13:02:31 +05:00
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
2021-08-13 15:35:03 +05:00
|
|
|
|
[Column("code"), Comment("Код операции")]
|
|
|
|
|
public int Code { get; set; }
|
|
|
|
|
|
2021-06-24 13:02:31 +05:00
|
|
|
|
}
|
|
|
|
|
}
|