Models and migration
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user