using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace Entity.Sugar
{
///
///
///
[SugarTable("OTB_SYS_Departments")]
public partial class OTB_SYS_Departments : ModelContext
{
public OTB_SYS_Departments(){
}
///
/// Desc:
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey=true)]
public string DepartmentID {get;set;}
public const string CN_DEPARTMENTID = "DepartmentID";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string DepartmentName {get;set;}
public const string CN_DEPARTMENTNAME = "DepartmentName";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string DepartmentShortName {get;set;}
public const string CN_DEPARTMENTSHORTNAME = "DepartmentShortName";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string ChiefOfDepartmentID {get;set;}
public const string CN_CHIEFOFDEPARTMENTID = "ChiefOfDepartmentID";
///
/// Desc:
/// Default:
/// Nullable:True
///
public int? LevelOfDepartment {get;set;}
public const string CN_LEVELOFDEPARTMENT = "LevelOfDepartment";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string NameOfLevel {get;set;}
public const string CN_NAMEOFLEVEL = "NameOfLevel";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string ParentDepartmentID {get;set;}
public const string CN_PARENTDEPARTMENTID = "ParentDepartmentID";
///
/// Desc:
/// Default:
/// Nullable:True
///
public int? OrderByValue {get;set;}
public const string CN_ORDERBYVALUE = "OrderByValue";
///
/// Desc:Y:有效 N:無效
/// Default:
/// Nullable:True
///
public string Effective {get;set;}
public const string CN_EFFECTIVE = "Effective";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string Memo {get;set;}
public const string CN_MEMO = "Memo";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CreateUser {get;set;}
public const string CN_CREATEUSER = "CreateUser";
///
/// Desc:
/// Default:
/// Nullable:True
///
public DateTime? CreateDate {get;set;}
public const string CN_CREATEDATE = "CreateDate";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string ModifyUser {get;set;}
public const string CN_MODIFYUSER = "ModifyUser";
///
/// Desc:
/// Default:
/// Nullable:True
///
public DateTime? ModifyDate {get;set;}
public const string CN_MODIFYDATE = "ModifyDate";
///
/// Desc:
/// Default:N
/// Nullable:True
///
public string DelStatus {get;set;}
public const string CN_DELSTATUS = "DelStatus";
///
/// Desc:
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey=true)]
public string OrgID {get;set;}
public const string CN_ORGID = "OrgID";
}
}