You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/OA/Models/Project/Project.cs

103 lines
2.4 KiB
C#

3 years ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.OA.Models.Project
{
[JsonObject]
public class Projectmb : ModelObjectBillBody
{
private string _GID = string.Empty;
private string _PROJECTNO = string.Empty;
private string _BLNO = string.Empty;
private string _PROTYPE = string.Empty;
private string _BLNOTYPE = string.Empty;
private string _ISOVER = string.Empty;
private string _ISOVER_DEF = string.Empty;
private string _OVERDATE = string.Empty;
private string _INSERTED = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string PROJECTNO
{
get { return _PROJECTNO; }
set { _PROJECTNO = value; }
}
[ModelDB]
public string BLNO
{
get { return _BLNO; }
set { _BLNO = value; }
}
[ModelDB]
public string PROTYPE
{
get { return _PROTYPE; }
set { _PROTYPE = value; }
}
[ModelDB]
public string BLNOTYPE
{
get { return _BLNOTYPE; }
set { _BLNOTYPE = value; }
}
[ModelDB]
public string ISOVER
{
get { return _ISOVER; }
set { _ISOVER = value; }
}
public string ISOVER_DEF
{
get { return _ISOVER_DEF; }
set { _ISOVER_DEF = value; }
}
[ModelDB]
public string OVERDATE
{
get { return _OVERDATE; }
set { _OVERDATE = value; }
}
public string INSERTED
{
get { return _INSERTED; }
set { _INSERTED = value; }
}
public Projectmb()
{
TableName = "OA_ProjectInfo";
}
override public string GetBillNoFieldName()
{
return "INSERTED";
}
}
[JsonObject]
public class BLNOmb : ModelObjectBillHead
{
private string _BLNO = string.Empty;
public string BLNO
{
get { return _BLNO; }
set { _BLNO = value; }
}
}
}