namespace Rkis29.Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Task")]
    public partial class Task
    {
        public int Id { get; set; }

        public string NameT { get; set; }

        public string Description { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime Date { get; set; }

        public int CreaterTaskId { get; set; }

        public int AcceptedTaskId { get; set; }

        public int StatusTaskId { get; set; }

        public virtual Person Person { get; set; }

        public virtual Person Person1 { get; set; }

        public virtual StatusTask StatusTask { get; set; }
    }
}
