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/ClientCompany/ClientCompany.cs

102 lines
2.7 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.ClientCompany
{
[JsonObject]
public class ClientCompanymb : ModelObjectBillBody
{
private string _CustomerGID = string.Empty;
private string _CompanyID = string.Empty;
private string _RelationShipName = string.Empty;
private string _FieldName = string.Empty;
private string _Value = string.Empty;
private string _Value1 = string.Empty;
private string _Value2 = string.Empty;
private string _NumValue = string.Empty;
private string _INSERTED = string.Empty;
private string _CustomerName = string.Empty;
private string _CompanyName = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string CustomerGID
{
get { return _CustomerGID; }
set { _CustomerGID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string CompanyID
{
get { return _CompanyID; }
set { _CompanyID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string RelationShipName
{
get { return _RelationShipName; }
set { _RelationShipName = value; }
}
[ModelDB]
public string FieldName
{
get { return _FieldName; }
set { _FieldName = value; }
}
[ModelDB]
public string Value
{
get { return _Value; }
set { _Value = value; }
}
[ModelDB]
public string Value1
{
get { return _Value1; }
set { _Value1 = value; }
}
[ModelDB]
public string Value2
{
get { return _Value2; }
set { _Value2 = value; }
}
[ModelDB]
public string NumValue
{
get { return _NumValue; }
set { _NumValue = value; }
}
public string INSERTED
{
get { return _INSERTED; }
set { _INSERTED = value; }
}
public string CustomerName
{
get { return _CustomerName; }
set { _CustomerName = value; }
}
public string CompanyName
{
get { return _CompanyName; }
set { _CompanyName = value; }
}
public ClientCompanymb()
{
TableName = "Info_Client_Company";
}
override public string GetBillNoFieldName()
{
return "INSERTED";
}
}
}