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

namespace Bailun.DC.Models
{
    /// <summary>
    /// 借支单明细
    /// </summary>
    public class dc_daily_fee
    {
        /// <summary>
        /// 
        /// </summary>
        public int id { get; set; }

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

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

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

        /// <summary>
        /// 
        /// </summary>
        public int? cost_form { get; set; }

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

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

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

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

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

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

        /// <summary>
        /// 
        /// </summary>
        public int? create_userid { get; set; }

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

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

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

        /// <summary>
        /// 
        /// </summary>
        public DateTime? create_time { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int? cost_status { get; set; }

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

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

        /// <summary>
        /// 
        /// </summary>
        public decimal? amount { get; set; }

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

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

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

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

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

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

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

        /// <summary>
        /// 
        /// </summary>
        public int? is_lend { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal? had_pay { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int? lend_status { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal? compensate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal? counteract { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal? lend_balance { get; set; }

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

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

        /// <summary>
        /// 
        /// </summary>
        public decimal? pay_counteract { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal? pay_lend_balance { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal? pay_plan_amount { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public string pay_dic { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal? pay_cur { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int? is_tax { get; set; }

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

        /// <summary>
        /// 
        /// </summary>
        public int? pay_user_id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime? pay_time { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal? amount_rmb { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal? to_rmb_rate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int? sub_logistics_supplier_id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int? logistics_supplier_id { get; set; }

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

        /// <summary>
        /// 
        /// </summary>
        public int? company_value { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime? audit_time { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public DateTime? recoed_time { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime? last_modify_date { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime? bj_create { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime? bj_modified { get; set; }

    }

    public enum Enum_cost_form
    {
        付款 = 1,
        收款 = 2,
        借支or借还 = 3
    }
}
