2024-11-28 08:55:50 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
|
|
|
|
namespace Persistence.Database.Entity;
|
2024-12-02 15:14:00 +05:00
|
|
|
|
public class DrillingSystem
|
2024-11-28 08:55:50 +05:00
|
|
|
|
{
|
|
|
|
|
[Key, Comment("Id системы автобурения")]
|
|
|
|
|
public Guid SystemId { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required, Column(TypeName = "varchar(256)"), Comment("Наименование системы автобурения")]
|
|
|
|
|
public required string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
[Comment("Описание системы автобурения")]
|
|
|
|
|
public string? Description { get; set; }
|
|
|
|
|
}
|