FmsContractMethod.cs 786 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 FmsContractMethod {
  7. public FmsContractMethod() {
  8. FmsContract = new HashSet<FmsContract>();
  9. }
  10. //계약방법
  11. [Display(Name = "계약 방법 코드"), Key]
  12. public int ContractMethodId { 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("FmsContractMethod")]
  19. public virtual ICollection<FmsContract> FmsContract { get; set; }
  20. }
  21. }