using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace FMSAdmin.Entities { public partial class FmsEquipmentCodeStateType { public FmsEquipmentCodeStateType() { FmsEquipmentHistory = new HashSet(); FmsEquipmentRentInfo = new HashSet(); } [Key] public short EquipmentStateTypeId { get; set; } [Required] [StringLength(24)] public string Name { get; set; } [StringLength(1024)] public string Comment { get; set; } [InverseProperty("EquipmentStateType")] public virtual ICollection FmsEquipmentHistory { get; set; } [InverseProperty("EquipmentStateType")] public virtual ICollection FmsEquipmentRentInfo { get; set; } } }