using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/*
 * create:2013-06-07 YeRong
 * update:
 * 
*/
/// <summary>
/// 部门
/// </summary>
public class Department
{
    /// <summary>
    /// 部门id
    /// </summary>
    public int? dep_id { get; set; }
    /// <summary>
    /// 部门编码
    /// </summary>
    public string dep_code { get; set; }
    /// <summary>
    /// 部门名称
    /// </summary>
    public string dep_name { get; set; }
    /// <summary>
    /// 父级部门id
    /// </summary>
    public int? parent_id { get; set; }
    /// <summary>
    /// 父级部门
    /// </summary>
    public Department parent { get; set; }
    /// <summary>
    /// 是否生产车间
    /// </summary>
    public int? is_workshop { get; set; }
    /// <summary>
    /// 仓库ID
    /// </summary>
    public int? dep_wh_id { get; set; }
    /// <summary>
    /// 仓库
    /// </summary>
    public Warehouse warehouse { get; set; }
    /// <summary>
    /// 是否停用
    /// </summary>
    public int? is_stop { 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; }
}
