APICycleVDP/DbCycleVDP/TableCycle.cs
Georgy.Khatuncev b5688b9b94 Move entity schema
Move classes for work with DB in root dir. Fix problems with num cycles, after change to Enum
2024-09-20 10:51:24 +05:00

24 lines
652 B
C#

using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
namespace DbCycleVDP
{
[Table("Cycles")]
public class TableCycle
{
[Column("idCycle"), Required, Key]
public int IdCycle { get; set; }
[Column("numVdp")]
public int NumVdp { get; set; }
[Column("numCycle")]
public int NumCycle { get; set; }
[Column("factStart")]
public DateTime FactStart { get; set; }
[Column("thinkEnd")]
public DateTime ThinkEnd { get; set; }
[Column("factEnd")]
public DateTime FactEnd { get; set; }
}
}