using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///应收应付单主表
/// </summary>
public class OtherRP
{
    /// <summary>
    /// 应收应付单主表ID
    /// </summary>
    public int orp_id { get; set; }
    /// <summary>
    /// 收付标志:AR应收、AP应付
    /// </summary>
    public string rp_flag { get; set; }
    /// <summary>
    /// 应收应付单号
    /// </summary>
    public string order_number { get; set; }
    /// <summary>
    /// 新增人ID
    /// </summary>
    public int? new_uid { get; set; }
    /// <summary>
    /// 新增人名称
    /// </summary>
    public string new_user { get; set; }
    /// <summary>
    /// 新增日期
    /// </summary>
    public DateTime? new_date { get; set; }
    /// <summary>
    /// 修改人ID
    /// </summary>
    public int? update_uid { get; set; }
    /// <summary>
    /// 修改人名称
    /// </summary>
    public string update_user { get; set; }
    /// <summary>
    /// 修改日期
    /// </summary>
    public DateTime? update_date { get; set; }
    /// <summary>
    /// 审核人ID
    /// </summary>
    public int? verify_uid { get; set; }
    /// <summary>
    /// 审核人名称
    /// </summary>
    public string verify_user { get; set; }
    /// <summary>
    /// 客户ID
    /// </summary>
    public int? cus_id { get; set; }
    /// <summary>
    /// 客户
    /// </summary>
    public Customer customer { get; set; }
    /// <summary>
    /// 供应商ID
    /// </summary>
    public int? vd_id { get; set; }
    /// <summary>
    /// 供应商
    /// </summary>
    public Vendor vendor { get; set; }
    /// <summary>
    /// 部门ID
    /// </summary>
    public int? dep_id { get; set; }
    /// <summary>
    /// 部门
    /// </summary>
    public Department department { get; set; }
    /// <summary>
    /// 业务员ID
    /// </summary>
    public int? ele_id { get; set; }
    /// <summary>
    /// 业务员
    /// </summary>
    public Employee employee { get; set; }
    /// <summary>
    /// 币种ID
    /// </summary>
    public int? crc_id { get; set; }
    /// <summary>
    /// 币种
    /// </summary>
    public Currency currency { get; set; }
    /// <summary>
    /// 汇率
    /// </summary>
    public decimal? exchange_rate { get; set; }
    /// <summary>
    /// 税率
    /// </summary>
    public decimal? tax_rate { get; set; }
    /// <summary>
    /// 无税金额
    /// </summary>
    public decimal? total_price { get; set; }
    /// <summary>
    /// 含税金额
    /// </summary>
    public decimal? tax_total_price { get; set; }
    /// <summary>
    /// 本币金额
    /// </summary>
    public decimal? nat_total_price { get; set; }
    /// <summary>
    /// 本币含税金额
    /// </summary>
    public decimal? nat_tax_total_price { get; set; }
    /// <summary>
    /// 来源单据ID
    /// </summary>
    public int? from_id { get; set; }
    /// <summary>
    /// 单据来源
    /// </summary>
    public string from_type { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    public string remark { get; set; }
    /// <summary>
    /// 字符自定义项1
    /// </summary>
    public string sdefine1 { get; set; }
    /// <summary>
    /// 字符自定义项2
    /// </summary>
    public string sdefine2 { get; set; }
    /// <summary>
    /// 字符自定义项3
    /// </summary>
    public string sdefine3 { get; set; }
    /// <summary>
    /// 字符自定义项4
    /// </summary>
    public string sdefine4 { get; set; }
    /// <summary>
    /// 字符自定义项5
    /// </summary>
    public string sdefine5 { get; set; }
    /// <summary>
    /// 数值自定义项1
    /// </summary>
    public decimal? ndefine1 { get; set; }
    /// <summary>
    /// 数值自定义项2
    /// </summary>
    public decimal? ndefine2 { get; set; }
    /// <summary>
    /// 数值自定义项3
    /// </summary>
    public decimal? ndefine3 { get; set; }
    /// <summary>
    /// 数值自定义项4
    /// </summary>
    public decimal? ndefine4 { get; set; }
    /// <summary>
    /// 数值自定义项5
    /// </summary>
    public decimal? ndefine5 { get; set; }
}
