CmHolidayWeekend.cs 560 B

1234567891011121314151617181920
  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 CmHolidayWeekend
  8. {
  9. [Key]
  10. public int SiteId { get; set; }
  11. public bool Saturday { get; set; }
  12. public bool Sunday { get; set; }
  13. public bool? IsUse { get; set; }
  14. [ForeignKey(nameof(SiteId))]
  15. [InverseProperty(nameof(CmSite.CmHolidayWeekend))]
  16. public virtual CmSite Site { get; set; }
  17. }
  18. }