using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///物料清单主表 by ye_rong 2014
/// </summary>
public class BOM
{
    /// <summary>
    /// 单据主表ID
    /// </summary>
    public int bo_id { get; set; }
    /// <summary>
    /// 成品存货ID
    /// </summary>
    public int p_i_id { get; set; }
    /// <summary>
    /// 成品存货
    /// </summary>
    public Inventory p_inventory { get; set; }
    /// <summary>
    /// 自由项1
    /// </summary>
    public string p_free1 { get; set; }
    /// <summary>
    /// 自由项2
    /// </summary>
    public string p_free2 { get; set; }
    /// <summary>
    /// 新增人ID
    /// </summary>
    public int? new_uid { get; set; }
    /// <summary>
    /// 新增人名称
    /// </summary>
    public string new_user { get; set; }
    /// <summary>
    /// 新增日期
    /// </summary>
    public DateTime? new_date { get; set; }
    /// <summary>
    /// 修改人ID
    /// </summary>
    public int? update_uid { get; set; }
    /// <summary>
    /// 修改人名称
    /// </summary>
    public string update_user { get; set; }
    /// <summary>
    /// 修改日期
    /// </summary>
    public DateTime? update_date { get; set; }
    /// <summary>
    /// 审核人ID
    /// </summary>
    public int? verify_uid { get; set; }
    /// <summary>
    /// 审核人名称
    /// </summary>
    public string verify_user { get; set; }
    /// <summary>
    /// 仓库ID
    /// </summary>
    public int? wh_id { get; set; }
    /// <summary>
    /// 仓库
    /// </summary>
    public Warehouse warehouse { get; set; }
    /// <summary>
    /// 部门ID
    /// </summary>
    public int? dep_id { get; set; }
    /// <summary>
    /// 部门
    /// </summary>
    public Department department { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    public string remark { get; set; }
    /// <summary>
    /// 字符自定义项1
    /// </summary>
    public string sdefine1 { get; set; }
    /// <summary>
    /// 字符自定义项2
    /// </summary>
    public string sdefine2 { get; set; }
    /// <summary>
    /// 字符自定义项3
    /// </summary>
    public string sdefine3 { get; set; }
    /// <summary>
    /// 字符自定义项4
    /// </summary>
    public string sdefine4 { get; set; }
    /// <summary>
    /// 字符自定义项5
    /// </summary>
    public string sdefine5 { get; set; }
    /// <summary>
    /// 数值自定义项1
    /// </summary>
    public decimal? ndefine1 { get; set; }
    /// <summary>
    /// 数值自定义项2
    /// </summary>
    public decimal? ndefine2 { get; set; }
    /// <summary>
    /// 数值自定义项3
    /// </summary>
    public decimal? ndefine3 { get; set; }
    /// <summary>
    /// 数值自定义项4
    /// </summary>
    public decimal? ndefine4 { get; set; }
    /// <summary>
    /// 数值自定义项5
    /// </summary>
    public decimal? ndefine5 { get; set; }
    /// <summary>
    /// 存货字符自定义项1
    /// </summary>
    public string inv_sdefine1 { get; set; }
    /// <summary>
    /// 存货字符自定义项2
    /// </summary>
    public string inv_sdefine2 { get; set; }
    /// <summary>
    /// 存货字符自定义项3
    /// </summary>
    public string inv_sdefine3 { get; set; }
    /// <summary>
    /// 存货字符自定义项4
    /// </summary>
    public string inv_sdefine4 { get; set; }
    /// <summary>
    /// 存货字符自定义项5
    /// </summary>
    public string inv_sdefine5 { get; set; }
    /// <summary>
    /// 存货数值自定义项1
    /// </summary>
    public decimal? inv_ndefine1 { get; set; }
    /// <summary>
    /// 存货数值自定义项2
    /// </summary>
    public decimal? inv_ndefine2 { get; set; }
    /// <summary>
    /// 存货数值自定义项3
    /// </summary>
    public decimal? inv_ndefine3 { get; set; }
    /// <summary>
    /// 存货数值自定义项4
    /// </summary>
    public decimal? inv_ndefine4 { get; set; }
    /// <summary>
    /// 存货数值自定义项5
    /// </summary>
    public decimal? inv_ndefine5 { get; set; }
}
