CmCompanyType.cs 745 B

1234567891011121314151617181920212223
  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 CmCompanyType {
  7. public CmCompanyType() {
  8. CmCompany = new HashSet<CmCompany>();
  9. }
  10. [Display(Name = "회사 유형번호"), Key]
  11. public int CompanyTypeId { get; set; }
  12. [Display(Name = "회사 유형이름"), Required]
  13. [StringLength(50)]
  14. public string Name { get; set; }
  15. [Display(Name = "사용 유무")]
  16. public bool? IsUse { get; set; }
  17. [InverseProperty("CmCompanyType")]
  18. public virtual ICollection<CmCompany> CmCompany { get; set; }
  19. }
  20. }