using System;
using System.Collections.Generic;
using System.Text;

namespace Bailun.DC.Models
{
    /// <summary>
    /// 物流供应商往来数据表
    /// </summary>
    public class dc_logistics_supplier_transaction
    {
        public int id { get; set; }

        /// <summary>
        /// 统计日期
        /// </summary>
        public DateTime? day { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string type { get; set; }

        /// <summary>
        /// 公司主体value
        /// </summary>
        public int pay_company_value { get; set; }

        /// <summary>
        /// 公司主体名称
        /// </summary>
        public string pay_company_name { get; set; }

        /// <summary>
        /// 供应商ID
        /// </summary>
        public int supplier_id { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string supplier_name { get; set; }

        /// <summary>
        /// 期初金额
        /// </summary>
        public decimal start_amount { get; set; }

        /// <summary>
        /// 借方发生额
        /// </summary>
        public decimal borrow_amount { get; set; }

        /// <summary>
        /// 贷方发生额
        /// </summary>
        public decimal loan_amount { get; set; }
        
        /// <summary>
        /// 期末金额
        /// </summary>
        public decimal end_amount { get; set; }

        /// <summary>
        /// 取数时间
        /// </summary>
        public DateTime update_time { get; set; }
    }
}
