This commit is contained in:
2020-12-16 15:19:40 +00:00
parent 81c88ff858
commit 4f3a2b8b80
6 changed files with 194 additions and 6 deletions

View File

@@ -1,8 +1,9 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using AyaNova.Biz;
namespace AyaNova.Models
{
@@ -22,10 +23,15 @@ namespace AyaNova.Models
public string CustomFields { get; set; }
public List<string> Tags { get; set; }
public DateTime? DateStarted { get; set; }
public DateTime? DateCompleted { get; set; }
public long? ProjectOverseerId { get; set; }
public string AccountNumber { get; set; }
public Project()
{
Tags = new List<string>();
DateStarted = DateTime.UtcNow;
}
[NotMapped, JsonIgnore]
@@ -34,3 +40,28 @@ namespace AyaNova.Models
}//eoc
}//eons
/*
[AID] [uniqueidentifier] NOT NULL,
[ACREATED] [datetime] NOT NULL,
[AMODIFIED] [datetime] NOT NULL,
[ACREATOR] [uniqueidentifier] NOT NULL,
[AMODIFIER] [uniqueidentifier] NOT NULL,
[ANAME] [nvarchar](255) NULL,
[ADATECOMPLETED] [datetime] NULL,
[ANOTES] [ntext] NULL,
[APROJECTOVERSEERID] [uniqueidentifier] NULL,
[AACCOUNTNUMBER] [nvarchar](255) NULL,
[ADATESTARTED] [datetime] NULL,
[AACTIVE] [bit] NOT NULL,
[ACUSTOM1] [ntext] NULL,
[ACUSTOM2] [ntext] NULL,
[ACUSTOM3] [ntext] NULL,
[ACUSTOM4] [ntext] NULL,
[ACUSTOM5] [ntext] NULL,
[ACUSTOM6] [ntext] NULL,
[ACUSTOM7] [ntext] NULL,
[ACUSTOM8] [ntext] NULL,
[ACUSTOM9] [ntext] NULL,
[ACUSTOM0] [ntext] NULL,
[AREGIONID] [uniqueidentifier] NULL,
*/