CmPosition.cs 790 B

12345678910111213141516171819202122232425
  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 CmPosition {
  7. public CmPosition() {
  8. CmUser = new HashSet<CmUser>();
  9. }
  10. [Display(Name = "직급 코드"), Key]
  11. public int PositionId { get; set; }
  12. [Display(Name = "직급 코드 명"), Required]
  13. [StringLength(40)]
  14. public string Name { get; set; }
  15. [Display(Name = "순서")]
  16. public int Position { get; set; }
  17. [Display(Name = "사용 유무")]
  18. public bool? IsUse { get; set; }
  19. [InverseProperty("CmPosition")]
  20. public virtual ICollection<CmUser> CmUser { get; set; }
  21. }
  22. }