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/Import/Models/ReceiptNeed/ReceiptNeed.cs

76 lines
2.0 KiB
C#

2 years ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.Import.Models.ReceiptNeed
{
[JsonObject]
public class ReceiptNeedmb : ModelObjectBillBody
{
private string _ReceiptName = string.Empty;
private string _TypeName = string.Empty;
private string _Need_Recv = string.Empty;
private string _Need_Send = string.Empty;
private string _Need_Repeat = string.Empty;
private string _Need_Return = string.Empty;
private string _inserted = string.Empty;//用于标记是否已插入数据
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string ReceiptName
{
get { return _ReceiptName; }
set { _ReceiptName = value; }
}
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string TypeName
{
get { return _TypeName; }
set { _TypeName = value; }
}
[ModelDB]
public string Need_Recv
{
get { return _Need_Recv; }
set { _Need_Recv = value; }
}
[ModelDB]
public string Need_Send
{
get { return _Need_Send; }
set { _Need_Send = value; }
}
[ModelDB]
public string Need_Repeat
{
get { return _Need_Repeat; }
set { _Need_Repeat = value; }
}
[ModelDB]
public string Need_Return
{
get { return _Need_Return; }
set { _Need_Return = value; }
}
public string inserted
{
get { return _inserted; }
set { _inserted = value; }
}
public ReceiptNeedmb()
{
TableName = "code_Receipt_need";
}
override public string GetBillNoFieldName()
{
return "inserted";
}
}
}