DD.WellWorkover.Cloud/AsbCloudDb/Model/Subsystem.cs

23 lines
580 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace AsbCloudDb.Model
{
[Table("t_subsystem"), Comment("Описание подсистем")]
public class Subsystem : IId
2022-09-07 18:01:39 +05:00
{
[Column("id"), Key]
public int Id { get; set; }
[Column("name")]
[StringLength(255)]
2022-08-08 16:53:01 +05:00
public string Name { get; set; } = null!;
[Column("description")]
[StringLength(255)]
public string? Description { get; set; }
2022-08-08 16:53:01 +05:00
2022-09-07 18:01:39 +05:00
}
}