FmsContractType.cs 778 B

123456789101112131415161718192021222324
  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 FmsContractType {
  7. public FmsContractType() {
  8. FmsContract = new HashSet<FmsContract>();
  9. }
  10. //계약구분
  11. [Display(Name = "계약 종류 코드"), Key]
  12. public int ContractTypeId { get; set; }
  13. [Display(Name = "코드 명칭"), Required]
  14. [StringLength(50)]
  15. public string Name { get; set; }
  16. [Display(Name = "사용 유무")]
  17. public bool? IsUse { get; set; }
  18. [InverseProperty("FmsContractType")]
  19. public virtual ICollection<FmsContract> FmsContract { get; set; }
  20. }
  21. }