using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Configuration; using System.Linq; using System.Reflection.Metadata.Ecma335; using System.Text; using System.Threading.Tasks; namespace ODCWeb.Models { /* [BindProperties]*/ public class ScheduleTask { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int STaskId { get; set; } public string Name { get; set; } public int TaskId { get; set; } public int ActionId { get; set; } public int FloorId { get; set; } public int ODCProjectId { get; set; } [Display(Name = "Start Date Time")] public DateTime? SDate { get; set; } [Display(Name = "End Date Time")] public DateTime? EDate { get; set; } public string Details { get; set; } public bool? IsAllDay { get; set; } public bool? IsReadonly { get; set; } public bool? IsEndDate { get; set; } public double? Completion { get; set; } public string? BColor { get; set; } } }