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.

146 lines
3.9 KiB
C#

10 months ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.OA.Models.CustomerBalance
{
[JsonObject]
public class CustomerBalancemb : ModelObjectBillBody
{
private string _GID = string.Empty;
private string _CustomerGID = string.Empty;
private string _CustomerName = string.Empty;
private string _CodeName = string.Empty;
private string _DeptGID = string.Empty;
private string _DeptName = string.Empty;
private string _StartTime = string.Empty;
private string _Balance_1 = string.Empty;
private string _Balance_2 = string.Empty;
private string _Balance_3 = string.Empty;
private string _Balance_4 = string.Empty;
private string _Balance_5 = string.Empty;
private string _C_Balance_1 = string.Empty;
private string _C_Balance_2 = string.Empty;
private string _C_Balance_3 = string.Empty;
private string _C_Balance_4 = string.Empty;
private string _C_Balance_5 = 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 CustomerGID
{
get { return _CustomerGID; }
set { _CustomerGID = value; }
}
public string CustomerName
{
get { return _CustomerName; }
set { _CustomerName = value; }
}
[ModelDB]
public string DeptGID
{
get { return _DeptGID; }
set { _DeptGID = value; }
}
public string DeptName
{
get { return _DeptName; }
set { _DeptName = value; }
}
[ModelDB]
public string StartTime
{
get { return _StartTime; }
set { _StartTime = value; }
}
[ModelDB]
public string Balance_1
{
get { return _Balance_1; }
set { _Balance_1 = value; }
}
[ModelDB]
public string Balance_2
{
get { return _Balance_2; }
set { _Balance_2 = value; }
}
[ModelDB]
public string Balance_3
{
get { return _Balance_3; }
set { _Balance_3 = value; }
}
[ModelDB]
public string Balance_4
{
get { return _Balance_4; }
set { _Balance_4 = value; }
}
[ModelDB]
public string Balance_5
{
get { return _Balance_5; }
set { _Balance_5 = value; }
}
public string C_Balance_1
{
get { return _C_Balance_1; }
set { _C_Balance_1 = value; }
}
public string C_Balance_2
{
get { return _C_Balance_2; }
set { _C_Balance_2 = value; }
}
public string C_Balance_3
{
get { return _C_Balance_3; }
set { _C_Balance_3 = value; }
}
public string C_Balance_4
{
get { return _C_Balance_4; }
set { _C_Balance_4 = value; }
}
public string C_Balance_5
{
get { return _C_Balance_5; }
set { _C_Balance_5 = value; }
}
public string INSERTED
{
get { return _INSERTED; }
set { _INSERTED = value; }
}
public string CodeName
{
get { return _CodeName; }
set { _CodeName = value; }
}
public CustomerBalancemb()
{
TableName = "Customer_Balance";
}
override public string GetBillNoFieldName()
{
return "INSERTED";
}
}
}