using LJLib.DAL.SQL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JLHHJSvr.Com.Model
{
    [PK(new[] { "softbed_id" })]
    public class u_softbed
    {
        public int softbed_id { get; set; }
        public string softbed_code { get; set; }
        public string softbed_relcode { get; set; }
        public string softbed_name { get; set; }
        public int deptid { get; set; }
        public byte flag { get; set; }
        public DateTime? create_date { get; set; }
        public string create_emp { get; set; }
        public string mtrlmode { get; set; }
        public string mtrltype { get; set; }
        public byte has_headboard { get; set; }
        public byte has_nightstand { get; set; }
        public byte has_bedframe { get; set; }
        public byte is_template { get; set; }
        public int template_id { get; set; }
        public string template_code { get; set; }
        public string template_name { get; set; }
        public decimal commission { get; set; }
        public decimal taxes { get; set; }
        public decimal taxrate { get; set; }
        public decimal other_rate { get; set; }
        public decimal extras_cost { get; set; }
        public byte money_type { get; set; }
        public decimal moneyrate { get; set; }
        public string dscrp { get; set; }
        public decimal costamt { get; set; }
        public decimal nottax_factory_cost { get; set; }
        public decimal nottax_dept_cost { get; set; }
        public decimal dept_cost { get; set; }
        public decimal foreign_cost { get; set; }
        public decimal dept_profitrate { get; set; }
        public DateTime? audit_date { get; set; }
        public string audit_emp { get; set; }
        public DateTime? update_date { get; set; }
        public string update_emp { get; set; }

        public decimal total_mtrl_cost { get; set; }
        public decimal total_hr_cost { get; set; }
        public decimal total_cost { get; set; }
        public int version { get; set; }
        public int copy_id { get; set; }

        public List<u_softbed_mx> mxList { get; set; }
        /// <summary>
        /// 生成标准配置值
        /// </summary>
        public List<u_configure_codemx> codeMxList { get; set; }
    }

}
