FmsBudgetCodeClass.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace FMSAdmin.Entities
  6. {
  7. public partial class FmsBudgetCodeClass
  8. {
  9. public FmsBudgetCodeClass()
  10. {
  11. FmsBudgetDetail = new HashSet<FmsBudgetDetail>();
  12. }
  13. [Key]
  14. public int SiteId { get; set; }
  15. [Key]
  16. public int BudgetClassId { get; set; }
  17. [Required]
  18. [StringLength(6)]
  19. public string BudgetSeq { get; set; }
  20. public int? RootBudgetClassId { get; set; }
  21. public int? ParentBudgetClassId { get; set; }
  22. public int Depth { get; set; }
  23. [Required]
  24. [StringLength(32)]
  25. public string Name { get; set; }
  26. [StringLength(16)]
  27. public string Abbreviation { get; set; }
  28. public bool? IsUse { get; set; }
  29. public double? YearlyBudget { get; set; }
  30. public double? MonthlyBudget { get; set; }
  31. [InverseProperty("FmsBudgetCodeClass")]
  32. public virtual ICollection<FmsBudgetDetail> FmsBudgetDetail { get; set; }
  33. }
  34. }