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

namespace Bailun.DC.Models
{
    public class dc_supplier_transaction
    {
        public int id { get; set; }

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

        /// <summary>
        /// 1：一级供应商，2：二级供应商
        /// </summary>
        public int types { get; set; }

        /// <summary>
        /// 0：半成品仓，1：成品仓
        /// </summary>
        public int is_finish { 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 putting_amount { get; set; }

        /// <summary>
        /// 快递费
        /// </summary>
        public decimal express_amount { get; set; }

        /// <summary>
        /// 支付金额
        /// </summary>
        public decimal pay_amount { get; set; }

        /// <summary>
        /// 退货金额
        /// </summary>
        public decimal return_amount { get; set; }

        /// <summary>
        /// 退货运费
        /// </summary>
        public decimal return_express { get; set; }

        /// <summary>
        /// 收款金额
        /// </summary>
        public decimal receive_amount { get; set; }

        /// <summary>
        /// 调整金额
        /// </summary>
        public decimal adjust_amount { get; set; }

        /// <summary>
        /// 期末金额
        /// </summary>
        public decimal end_amount { get; set; }

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

    }
}
