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/MvcShipping/Models/MsCwVouchersGlInvoice/MsCwVouchersGlInvoiceEntity.cs

414 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.MvcShipping.Models.MsCwVouchersGlInvoiceEntity
{
[JsonObject]
public class MsCwVouchersGlInvoiceEntity : ModelObjectBillHead
{
#region 私有成员
private string _gid = String.Empty;//主键唯一值
private string _billno = "*";//主键唯一值
private string _customername;//
private string _actualcustomername;//
private string _invoiceno;//
private string _invoicecustname;//
private string _invoicecategory = "0";
private string _invoicecategoryref = "";
private int _invoicetype = 0;
private string _invoicetyperef = "";
private int _billstatus = 0;
private string _billstatusref = "";
private string _currency = "RMB";
private decimal _amount = 0;
private decimal _invamount = 0;
private decimal _otcurramount = 0;
private string _amountcapital = "";
private decimal _rate = 0;
private string _applicant;//
private string _applicantname;//
private DateTime? _applytime = null;
private string _invoicemaketime = DateTime.Now.ToString("yyyy-MM-dd");
private string _operator;//
private string _operatorname;//
private DateTime? _operatetime = DateTime.Now;
private string _remark;//
private string _companyid;
private string _bsno;
private string _mblno;
private string _vesselvoyage;
private string _etd;
private string _pol;
private string _pod;
private string _custrateno;
private string _custaddrtel;
private string _custbank;
private string _bank;
private string _account;
private string _licensecode;
private string _taxcode;
private string _isneedprint;
private string _isneedfee;
private string _isdelete;
private DateTime? _deletetime = null;
private string _deleteoperator;//
private string _deloperatorname;//
private string _voucherno;
private string _nostl;
private string _feeamount;
private string _VOUNO;
#endregion
#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 string CUSTOMERNAME
{
get { return _customername; }
set { _customername = value; }
}
[ModelDB]
public string ACTUALCUSTOMERNAME
{
get { return _actualcustomername; }
set { _actualcustomername = value; }
}
[ModelDB]
public string CURRENCY
{
get { return _currency; }
set { _currency = value; }
}
[ModelDB]
public string INVOICENO
{
get { return _invoiceno; }
set { _invoiceno = value; }
}
[ModelDB]
public string INVOICECUSTNAME
{
get { return _invoicecustname; }
set { _invoicecustname = value; }
}
[ModelDB]
public int INVOICETYPE
{
get { return _invoicetype; }
set { _invoicetype = value; }
}
public string INVOICETYPEREF
{
get { return _invoicetyperef; }
set { _invoicetyperef = value; }
}
[ModelDB]
public int BILLSTATUS
{
get { return _billstatus; }
set { _billstatus = value; }
}
public string BILLSTATUSREF
{
get { return _billstatusref; }
set { _billstatusref = value; }
}
[ModelDB]
public string INVOICECATEGORY
{
get { return _invoicecategory; }
set { _invoicecategory = value; }
}
public string INVOICECATEGORYREF
{
get { return _invoicecategoryref; }
set { _invoicecategoryref = value; }
}
[ModelDB]
public decimal INVAMOUNT
{
get { return _invamount; }
set { _invamount = value; }
}
[ModelDB]
public decimal AMOUNT
{
get { return _amount; }
set { _amount = value; }
}
[ModelDB]
public decimal OTCURRAMOUNT
{
get { return _otcurramount; }
set { _otcurramount = value; }
}
[ModelDB]
public string AMOUNTCAPITAL
{
get { return _amountcapital; }
set { _amountcapital = value; }
}
[ModelDB]
public decimal EXCHANGERATE
{
get { return _rate; }
set { _rate = value; }
}
public string APPLICANT
{
get { return _applicant; }
set { _applicant = value; }
}
public string APPLICANTNAME
{
get { return _applicantname; }
set { _applicantname = value; }
}
public DateTime? APPLYTIME
{
get { return _applytime; }
set { _applytime = value; }
}
[ModelDB]
public string INVOICEMAKETIME
{
get { return _invoicemaketime; }
set { _invoicemaketime = value; }
}
[ModelDB]
public string OPERATOR
{
get { return _operator; }
set { _operator = value; }
}
public string OPERATORNAME
{
get { return _operatorname; }
set { _operatorname = value; }
}
[ModelDB]
public DateTime? OPERATETIME
{
get { return _operatetime; }
set { _operatetime = value; }
}
[ModelDB]
public string COMPANYID
{
get { return _companyid; }
set { _companyid = value; }
}
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
[ModelDB]
public string BSNO
{
get { return _bsno; }
set { _bsno = value; }
}
[ModelDB]
public string MBLNO
{
get { return _mblno; }
set { _mblno = value; }
}
[ModelDB]
public string VESSELVOYAGE
{
get { return _vesselvoyage; }
set { _vesselvoyage = value; }
}
[ModelDB]
public string ETD
{
get { return _etd; }
set { _etd = value; }
}
[ModelDB]
public string POL
{
get { return _pol; }
set { _pol = value; }
}
[ModelDB]
public string POD
{
get { return _pod; }
set { _pod = value; }
}
[ModelDB]
public string CUSTRATENO
{
get { return _custrateno; }
set { _custrateno = value; }
}
[ModelDB]
public string CUSTADDRTEL
{
get { return _custaddrtel; }
set { _custaddrtel = value; }
}
[ModelDB]
public string CUSTBANK
{
get { return _custbank; }
set { _custbank = value; }
}
[ModelDB]
public string BANK
{
get { return _bank; }
set { _bank = value; }
}
[ModelDB]
public string ACCOUNT
{
get { return _account; }
set { _account = value; }
}
[ModelDB]
public string LICENSECODE
{
get { return _licensecode; }
set { _licensecode = value; }
}
[ModelDB]
public string TAXCODE
{
get { return _taxcode; }
set { _taxcode = value; }
}
public string ISNEEDPRINT
{
get { return _isneedprint; }
set { _isneedprint = value; }
}
public string ISNEEDFEE
{
get { return _isneedfee; }
set { _isneedfee = value; }
}
public string ISDELETE
{
get { return _isdelete; }
set { _isdelete = value; }
}
public string DELETEOPERATOR
{
get { return _deleteoperator; }
set { _deleteoperator = value; }
}
public string DELOPERATORNAME
{
get { return _deloperatorname; }
set { _deloperatorname = value; }
}
public DateTime? DELETETIME
{
get { return _deletetime; }
set { _deletetime = value; }
}
public string VOUCHERNO
{
get { return _voucherno; }
set { _voucherno = value; }
}
public string NOSTL
{
get { return _nostl; }
set { _nostl = value; }
}
public string FEEAMOUNT
{
get { return _feeamount; }
set { _feeamount = value; }
}
/// <summary>
/// 总账凭证号
/// </summary>
public string VOUNO
{
get { return _VOUNO; }
set { _VOUNO = value; }
}
#endregion
public string PTORRED { get; set; }
public string SETRED { get; set; }
public MsCwVouchersGlInvoiceEntity()
{
TableName = "ch_fee_invoice";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
}