2024-11-28 08:55:50 +05:00
|
|
|
using Microsoft.EntityFrameworkCore;
|
2024-12-13 09:51:30 +05:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2024-11-28 08:55:50 +05:00
|
|
|
|
|
|
|
namespace Persistence.Database.Entity;
|
2024-12-12 17:05:47 +05:00
|
|
|
public class DataSourceSystem
|
2024-11-28 08:55:50 +05:00
|
|
|
{
|
2024-12-13 11:01:53 +05:00
|
|
|
[Key, Comment("Id системы - источника данных")]
|
2024-11-28 08:55:50 +05:00
|
|
|
public Guid SystemId { get; set; }
|
|
|
|
|
2024-12-13 11:01:53 +05:00
|
|
|
[Required, Column(TypeName = "varchar(256)"), Comment("Наименование системы - источника данных")]
|
2024-11-28 08:55:50 +05:00
|
|
|
public required string Name { get; set; }
|
|
|
|
|
2024-12-13 11:01:53 +05:00
|
|
|
[Comment("Описание системы - источника данных")]
|
2024-11-28 08:55:50 +05:00
|
|
|
public string? Description { get; set; }
|
|
|
|
}
|