d461fde0e8
Available tools/mounted tools Added Osai configuration
30 lines
854 B
C#
30 lines
854 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Step.Model.DatabaseModels
|
|
{
|
|
[Table("shank")]
|
|
public class NcShankModel
|
|
{
|
|
[Key]
|
|
[Column("id")]
|
|
public int ShankId { get; set; }
|
|
|
|
[Column("balluf")]
|
|
public short? Balluf { get; set; }
|
|
|
|
[Column("magazine_position_type")]
|
|
public byte MagazinePositionType { get; set; }
|
|
|
|
[ForeignKey("MagazinePosition"), Column("magazine_id", Order = 0)]
|
|
public byte? MagazineId { get; set; }
|
|
|
|
[ForeignKey("MagazinePosition"), Column("position_id", Order = 1)]
|
|
public byte? PositionId { get; set; }
|
|
|
|
public NcMagazinePositionModel MagazinePosition { get; set; }
|
|
|
|
public List<NcToolModel> Tools { get; set; }
|
|
}
|
|
} |