Georgy.Khatuncev
b5688b9b94
Move classes for work with DB in root dir. Fix problems with num cycles, after change to Enum
24 lines
652 B
C#
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; }
|
|
}
|
|
}
|