| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- using Castle.ActiveRecord;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace BizCom
- {
- [ActiveRecord("CE_ErpInvoice")]
- public class CeErpInvoice : ComBase<CeErpInvoice>
- {
- /// <summary>
- /// ID
- /// </summary>
- [PrimaryKey(PrimaryKeyType.Native)]
- public int ID { get; set; }
- private string _tid = "";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string tid
- {
- get { return _tid; }
- set { _tid = value; }
- }
- private string _ctid = "";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string ctid
- {
- get { return _ctid; }
- set { _ctid = value; }
- }
- private string _status = "";
- /// <summary>
- /// 状态
- /// PENDING_REVIEW 待审核
- /// PENDING_INVOICE 待开票
- /// FINISH 已完成
- /// FAIL 开票失败
- /// ALREADY_RED 已红冲
- /// CANCEL 已取消
- /// BACK 已驳回
- /// ERROR 错误
- /// </summary>
- [Property]
- public string status
- {
- get { return _status; }
- set { _status = value; }
- }
- /// <summary>
- /// 完成时间
- /// </summary>
- [Property]
- public DateTime? finishtime { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- [Property]
- private DateTime? createtime { get; set; }
- private string _message = "";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string message
- {
- get { return _message; }
- set { _message = value; }
- }
- private int _createId = 0;
- /// <summary>
- ///
- /// </summary>
- [Property]
- public int createId
- {
- get { return _createId; }
- set { _createId = value; }
- }
- private string _buyerTitle = "";
- /// <summary>
- /// 购买抬头
- /// </summary>
- [Property]
- public string buyerTitle
- {
- get { return _buyerTitle; }
- set { _buyerTitle = value; }
- }
- private string _buyerSn = "";
- /// <summary>
- /// 购买识别号
- /// </summary>
- [Property]
- public string buyerSn
- {
- get { return _buyerSn; }
- set { _buyerSn = value; }
- }
- private string _sellerTitle = "";
- /// <summary>
- /// 卖方抬头
- /// </summary>
- [Property]
- public string sellerTitle
- {
- get { return _sellerTitle; }
- set { _sellerTitle = value; }
- }
- private string _sellerSn = "";
- /// <summary>
- /// 卖方识别号
- /// </summary>
- [Property]
- public string sellerSn
- {
- get { return _sellerSn; }
- set { _sellerSn = value; }
- }
- private double _price = 0.0;
- /// <summary>
- /// 开票金额
- /// </summary>
- [Property]
- public double price
- {
- get { return _price; }
- set { _price = value; }
- }
- private double _taxRate = 0.0;
- /// <summary>
- /// 税率
- /// </summary>
- [Property]
- public double taxRate
- {
- get { return _taxRate; }
- set { _taxRate = value; }
- }
- private double _taxPrice = 0.0;
- /// <summary>
- /// 税费
- /// </summary>
- [Property]
- public double taxPrice
- {
- get { return _taxPrice; }
- set { _taxPrice = value; }
- }
- }
- }
|