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/Account/Models/Chfee_Invoicehexiao/Chfee_Invoicehexiao.cs

441 lines
10 KiB
C#

2 years ago
using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.Account.Models.Chfee_Invoicehexiao
{
[JsonObject]
public class ChInvoicehexiao : ModelObjectBillHead
{
#region 私有成员
private string _billno = "*";//主键唯一值
private string _billstatus="新建";//
private string _customername;//
private string _invoicecustname;//
private string _invno;//
private string _curr = "";
private decimal _amount = 0;
private string _invoicecategory = "0";
private string _invoicecategoryref = "";
private string _invdate=DateTime.Now.ToString("yyyy-MM-dd");//
private string _taxcode;//
private string _addrtel;//
private string _bank;//
private string _op;//
private string _opdate=DateTime.Now.ToString("yyyy-MM-dd");//
private string _remark;//
private decimal _invamount = 0;
private decimal _taxrate = 0;
private decimal _tax = 0;
private string _balbillno = "";//主键唯一值
private bool _isapp;
private string _paybillno = "";//主键唯一值
private string _YuanBiJinE = "";//原币金额
#endregion
public ChInvoicehexiao()
{
TableName = "ch_fee_invoicehexiao";
}
#region 读写属性
/// <summary>
/// 原币金额
/// </summary>
[ModelDB]
public string YuanBiJinE
{
get { return _YuanBiJinE; }
set { _YuanBiJinE = value; }
}
/// <summary>
/// 主键唯一值
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BILLNO
{
get { return _billno; }
set { _billno = value; }
}
[ModelDB]
public string BILLSTATUS
{
get { return _billstatus; }
set { _billstatus = value; }
}
[ModelDB]
public string CURR
{
get { return _curr; }
set { _curr = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _customername; }
set { _customername = value; }
}
[ModelDB]
public string INVOICECUSTNAME
{
get { return _invoicecustname; }
set { _invoicecustname = value; }
}
[ModelDB]
public string INVNO
{
get { return _invno; }
set { _invno = value; }
}
[ModelDB]
public string INVOICECATEGORY
{
get { return _invoicecategory; }
set { _invoicecategory = value; }
}
public string INVOICECATEGORYREF
{
get { return _invoicecategoryref; }
set { _invoicecategoryref = value; }
}
[ModelDB]
public decimal AMOUNT
{
get { return _amount; }
set { _amount = value; }
}
[ModelDB]
public decimal INVAMOUNT
{
get { return _invamount; }
set { _invamount = value; }
}
[ModelDB]
public decimal TAXRATE
{
get { return _taxrate; }
set { _taxrate = value; }
}
[ModelDB]
public decimal TAX
{
get { return _tax; }
set { _tax = value; }
}
[ModelDB]
public string INVDATE
{
get { return _invdate; }
set { _invdate = value; }
}
[ModelDB]
public string TAXCODE
{
get { return _taxcode; }
set { _taxcode = value; }
}
[ModelDB]
public string ADDRTEL
{
get { return _addrtel; }
set { _addrtel = value; }
}
[ModelDB]
public string BANK
{
get { return _bank; }
set { _bank = value; }
}
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARKS
{
get { return _remark; }
set { _remark = value; }
}
public bool ISAPP
{
get { return _isapp; }
set { _isapp = value; }
}
[ModelDB]
public string OP
{
get { return _op; }
set { _op = value; }
}
[ModelDB]
public string OPDATE
{
get { return _opdate; }
set { _opdate = value; }
}
public string BALBILLNO
{
get { return _balbillno; }
set { _balbillno = value; }
}
public string PAYBILLNO
{
get { return _paybillno; }
set { _paybillno = value; }
}
public string STLBILLNO { get; set; }
private string _salecorpid = "";
/// <summary>
/// 分公司代码
/// </summary>
[ModelDB]
public string SALECORPID
{
get { return _salecorpid; }
set { _salecorpid = value; }
}
private string _salecorp = "";
/// <summary>
/// 分公司代码
/// </summary>
public string SALECORP
{
get { return _salecorp; }
set { _salecorp = value; }
}
#endregion
}
[JsonObject]
public class ChBalapplication : ModelObjectBillHead
{
#region 私有成员
private string _gid = String.Empty;//主键唯一值
private string _billno = "*";//主键唯一值
private int _billstatus = 1;
private string _billstatusref = "未提交";
private string _customername;//
private string _curr = "";
private decimal _amountrmb = 0;
private decimal _rate = 0;
private decimal _amountusd = 0;
private decimal _amountot= 0;
private decimal _balamountrmb = 0;
private decimal _balamountusd = 0;
private decimal _stlamountrmb = 0;
private decimal _stlamountusd = 0;
private string _applicant;//
private string _applicantname;//
private string _applytime = null;
private DateTime? _entertime = null;
private string _audiuser;//
private DateTime? _auditime = null;
private string _remark;//
private string _companyid;
#endregion
public ChBalapplication()
{
TableName = "ch_fee_balapplication";
}
#region 读写属性
/// <summary>
/// 主键唯一值
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
[ModelDB]
public string BILLNO
{
get { return _billno; }
set { _billno = value; }
}
[ModelDB]
public int BILLSTATUS
{
get { return _billstatus; }
set { _billstatus = value; }
}
public string BILLSTATUSREF
{
get { return _billstatusref; }
set { _billstatusref = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _customername; }
set { _customername = value; }
}
[ModelDB]
public string CURR
{
get { return _curr; }
set { _curr = value; }
}
public decimal RATE
{
get { return _rate; }
set { _rate = value; }
}
[ModelDB]
public decimal AMOUNTRMB
{
get { return _amountrmb; }
set { _amountrmb = value; }
}
[ModelDB]
public decimal AMOUNTUSD
{
get { return _amountusd; }
set { _amountusd = value; }
}
public decimal BALAMOUNTRMB
{
get { return _balamountrmb; }
set { _balamountrmb = value; }
}
public decimal BALAMOUNTUSD
{
get { return _balamountusd; }
set { _balamountusd = value; }
}
public decimal STLAMOUNTRMB
{
get { return _stlamountrmb; }
set { _stlamountrmb = value; }
}
public decimal STLAMOUNTUSD
{
get { return _stlamountusd; }
set { _stlamountusd = value; }
}
public decimal AMOUNTOT
{
get { return _amountot; }
set { _amountot = value; }
}
[ModelDB]
public string APPLICANT
{
get { return _applicant; }
set { _applicant = value; }
}
public string APPLICANTNAME
{
get { return _applicantname; }
set { _applicantname = value; }
}
[ModelDB]
public string APPLYTIME
{
get { return _applytime; }
set { _applytime = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime? ENTERTIME
{
get { return _entertime; }
set { _entertime = value; }
}
public string AUDITUSER
{
get { return _audiuser; }
set { _audiuser = value; }
}
public DateTime? AUDITTIME
{
get { return _auditime; }
set { _auditime = value; }
}
[ModelDB]
public string COMPANYID
{
get { return _companyid; }
set { _companyid = value; }
}
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
#endregion
}
}