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

28 lines
676 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
namespace AsbCloudDb.Model.Subsystems
{
[Table("t_subsystem"), Comment("Описание подсистем")]
public class Subsystem : IId
{
[Key]
[Column("id")]
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
}
}