Models and migration

This commit is contained in:
Lucio Maranta
2018-06-25 17:18:10 +02:00
parent a791886cea
commit 76e1b695f7
13 changed files with 455 additions and 132 deletions
@@ -0,0 +1,28 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Step.Model.DatabaseModels
{
[Table("offset")]
public class NcOffsetModel
{
[Key]
[Column("id")]
public int OffsetId { get; set; }
[Column("nc_offset_id")]
public int NcOffsetId { get; set; }
[Column("lenght")]
public double Lenght { get; set; }
[Column("radius")]
public double Radius { get; set; }
[Column("wear_lenght")]
public double WearLenght { get; set; }
[Column("wear_radius")]
public double WearRadius { get; set; }
}
}