/
AstroJohn
/
MailRobot
Обзор
Документация
Войти
/
AstroJohn
/
MailRobot
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DbContext/Models/Swls.cs
74 строки
2 KB
AstroJohn
1st commit
11 сен 2024, 13:31
11 сен 2024, 13:31
0f57dc5
Код
Авторство
О чём код?
using DbContext.Interfaces; using System; using System.ComponentModel.DataAnnotations.Schema; namespace DbContext.Models { public class Swls: IHasDate { public int Id { get; set; } [Column("SWL_Call")] public string SwlCall { get; set; } public string Call1 { get; set; } public string Call2 { get; set; } public string Band { get; set; } public string Mode { get; set; } public string Time { get; set; } public string NrSent { get; set; } public string NrRcvd { get; set; } public string ErrType { get; set; } public string ErrPar { get; set; } [Column("CountryID1")] public string CountryId1 { get; set; } [Column("OblID1")] public string RegionId1 { get; set; } [Column("CountryID2")] public string CountryId2 { get; set; } [Column("OblID2")] public string RegionId2 { get; set; } public string Freq { get; set; } public string Mult11 { get; set; } public string Mult12 { get; set; } public string Mult13 { get; set; } public string Mult21 { get; set; } public string Mult22 { get; set; } public string Mult23 { get; set; } public int? Points { get; set; } public DateTime? Date { get; set; } public bool IsDupe => ErrType == "D"; public bool IsConfirmedError => ErrType != null && ErrType != "+"; public bool IsConfirmed => ErrType == "+"; public bool IsClaimedError => IsDupe || ErrType == "TT"; [NotMapped] public bool IsModified { get; set; } } }