StatusTask.cs 801 B

1234567891011121314151617181920212223242526
  1. namespace Rkis29.Model
  2. {
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.ComponentModel.DataAnnotations.Schema;
  7. using System.Data.Entity.Spatial;
  8. [Table("StatusTask")]
  9. public partial class StatusTask
  10. {
  11. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  12. public StatusTask()
  13. {
  14. Task = new HashSet<Task>();
  15. }
  16. public int Id { get; set; }
  17. [Required]
  18. public string Name { get; set; }
  19. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  20. public virtual ICollection<Task> Task { get; set; }
  21. }
  22. }