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_invoiceapplication/Chfee_Invoiceapplication.cs

405 lines
10 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.Account.Models.Chfee_Invoiceapplication
{
[JsonObject]
public class ChInvoiceapplication : ModelObjectBillHead
{
#region 私有成员
private string _gid = String.Empty;//主键唯一值
private string _billno = "*";//主键唯一值
private int _billstatus = 1;
private string _billstatusref = "未提交";
private string _customername;//
private string _actualcustomername;//
private string _invoiceno;//
private string _invoicenoref;//
private string _invoicecustname;//
private string _invoicecategory = "0";
private string _invoicecategoryref = "";
private string _curr = "RMB";
private string _RECVCURR = "RMB";
private decimal _applyamount = 0;
private decimal _stlamount = 0;
private decimal _otcurramount = 0;
private decimal _invamount = 0;//实际开票金额
private string _amountcapital = "";
private decimal _rate = 0;
private string _applicant;//
private string _applicantname;//
private string _applytime = DateTime.Now.ToString("yyyy-MM-dd");
private DateTime? _entertime = null;
private string _operator;//
private DateTime? _operatetime = null;
private string _remark;//
private string _companyid;
private bool _isapply;
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 _PAYCOMPANYID = string.Empty;
private string _PAYCOMPANYREF = string.Empty;
private string _feeamount;
private string _isAudit;
#endregion
public ChInvoiceapplication()
{
TableName = "ch_fee_invoiceapplication";
}
#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(MDBType = ModelDBOprationType.Insert)]
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 ACTUALCUSTOMERNAME
{
get { return _actualcustomername; }
set { _actualcustomername = value; }
}
[ModelDB]
public string CURRENCY
{
get { return _curr; }
set { _curr = value; }
}
[ModelDB]
public string RECVCURR
{
get { return _RECVCURR; }
set { _RECVCURR = value; }
}
[ModelDB]
public string INVOICENO
{
get { return _invoiceno; }
set { _invoiceno = value; }
}
public string INVOICENOREF
{
get { return _invoicenoref; }
set { _invoicenoref = value; }
}
[ModelDB]
public string INVOICECUSTNAME
{
get { return _invoicecustname; }
set { _invoicecustname = value; }
}
[ModelDB]
public string INVOICECATEGORY
{
get { return _invoicecategory; }
set { _invoicecategory = value; }
}
public string INVOICECATEGORYREF
{
get { return _invoicecategoryref; }
set { _invoicecategoryref = value; }
}
public decimal APPLYAMOUNT
{
get { return _applyamount; }
set { _applyamount = value; }
}
public decimal STLAMOUNT
{
get { return _stlamount; }
set { _stlamount = value; }
}
[ModelDB]
public decimal OTCURRAMOUNT
{
get { return _otcurramount; }
set { _otcurramount = value; }
}
[ModelDB]
public decimal INVAMOUNT
{
get { return _invamount; }
set { _invamount = value; }
}
public decimal STLINVAMOUNT { get; set; }
public decimal DOINVAMOUNT { get; set; }
[ModelDB]
public string AMOUNTCAPITAL
{
get { return _amountcapital; }
set { _amountcapital = value; }
}
[ModelDB]
public decimal RATE
{
get { return _rate; }
set { _rate = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string APPLICANT
{
get { return _applicant; }
set { _applicant = value; }
}
public string APPLICANTNAME
{
get { return _applicantname; }
set { _applicantname = value; }
}
public string APPLICANTDEPT { get; set; }
[ModelDB]
public string APPLYTIME
{
get { return _applytime; }
set { _applytime = value; }
}
public string _INVDATE { get; set; }
public string INVDATE
{
get { return _INVDATE; }
set { _INVDATE = value; }
}
[ModelDB]
public DateTime? ENTERTIME
{
get { return _entertime; }
set { _entertime = value; }
}
public string OPERATOR
{
get { return _operator; }
set { _operator = value; }
}
[ModelDB]
public DateTime? OPERATETIME
{
get { return _operatetime; }
set { _operatetime = value; }
}
[ModelDB]
public string COMPANYID
{
get { return _companyid; }
set { _companyid = value; }
}
public bool ISAPPLY
{
get { return _isapply; }
set { _isapply = value; }
}
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
/// <summary>
/// 开票要求
/// </summary>
[ModelDB]
public string SHENREMARK{ get; set; }
[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 PAYCOMPANYID
{
get { return _PAYCOMPANYID; }
set { _PAYCOMPANYID = value; }
}
public string PAYCOMPANYREF
{
get { return _PAYCOMPANYREF; }
set { _PAYCOMPANYREF = value; }
}
public string FEEAMOUNT
{
get { return _feeamount; }
set { _feeamount = value; }
}
public string IsAudit
{
get { return _isAudit; }
set { _isAudit = value; }
}
public string REASON { get; set; }
#endregion
#region 2019 新增字段 应对航信开票平台接口的 推送信息
private string _PUSHMODE = "-1";//推送方式:-1,不推送;0,邮箱;1,手机(默认);2,邮箱、手机 80002
private string _PUSHMOBILE = string.Empty;//购方手机(开票成功会短信提醒购方,不受推送方式影响)
private string _PUSHEMAIL = string.Empty;//推送邮箱pushMode为0或2时此项为必填
private string _PUSHMODEREF = string.Empty;
[ModelDB]
public string PUSHMODE
{
get { return _PUSHMODE; }
set { _PUSHMODE = value; }
}
[ModelDB]
public string PUSHMOBILE
{
get { return _PUSHMOBILE; }
set { _PUSHMOBILE = value; }
}
[ModelDB]
public string PUSHEMAIL
{
get { return _PUSHEMAIL; }
set { _PUSHEMAIL = value; }
}
public string PUSHMODEREF
{
get { return _PUSHMODEREF; }
set { _PUSHMODEREF = value; }
}
public string NOSTL { get; set; }
public string ISPRINT
{
get;set;
}
public Int32 PRINTCOUNT { get; set; }
public string APPLICANTEMAIL { get; set; }
#endregion
}
}