namespace EVCB_OCPP.Domain.Models.Database
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
///
/// 機器的組成項目
///
[Table("MachineComponent")]
public partial class MachineComponent
{
[Key]
public int Id { get; set; }
///
/// 機器的MachineModelId
///
public int MachineModelId { get; set; }
[ForeignKey("MachineModelId")]
public virtual MachineModel MachineModel { get; set; }
///
/// 槍數
///
public int? GunAmt { get; set; }
///
/// 機器零件ID
///
public int MachinePartId { get; set; }
[ForeignKey("MachinePartId")]
public virtual MachinePart MachinePart { get; set; }
///
/// 機器 Model Name
///
public String ModelName { get; set; }
}
}