FmsEquipmentCodeType.cs 876 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace FMSAdmin.Entities {
  6. public partial class FmsEquipmentCodeType {
  7. public FmsEquipmentCodeType() {
  8. FmsEquipment = new HashSet<FmsEquipment>();
  9. }
  10. [Display(Name = "고유번호"), Key]
  11. public int EquipmentTypeId { get; set; }
  12. [Display(Name = "유형명칭"), Required]
  13. [StringLength(24)]
  14. public string Name { get; set; }
  15. [Display(Name = "사용 유무")]
  16. public bool IsUse { get; set; }
  17. [Display(Name = "설명")]
  18. [StringLength(255)]
  19. public string Description { get; set; }
  20. [InverseProperty("FmsEquipmentCodeType")]
  21. public virtual ICollection<FmsEquipment> FmsEquipment { get; set; }
  22. }
  23. }