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

namespace AutoTurnOver.Models.Report
{
    public class dc_report_logistics_company_config
    {
        public int id { get; set; }
        public string company_code { get; set; }
        public string company_name { get; set; }
        public int payment_days_type { get; set; }
        public int days { get; set; }
    }

    public class dc_report_logistics_company_config_dto: dc_report_logistics_company_config
    {
        public string payment_days_type_str { get
            {
                return ((dc_report_logistics_company_config_payment_days_type)payment_days_type).ToString();
            } }
    }

    public class dc_report_logistics_company_config_search_dto
    {
        public string company_code { get; set; }
    }

    /// <summary>
    /// 1 = 周结 2= 月结 3 = 半结 4 = 预付 5=固定天数 6 = 现结
    /// </summary>
    public enum dc_report_logistics_company_config_payment_days_type
    {
        周结 = 1,
        月结=2,
        半月结 =3,
        预付 = 4,
        固定天数 = 5,
        现结 = 6
    }



}
