using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace SA.Entity.zxdcrm_Models
{
///
///营业部
///
[SugarTable("bas_salesdepartment")]
public partial class BasSalesdepartment
{
public BasSalesdepartment(){
}
///
/// Desc:营业部ID
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="saledeptid")]
public int Saledeptid {get;set;}
///
/// Desc:公司ID
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="companyid")]
public int? Companyid {get;set;}
///
/// Desc:编码
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnName="saledeptcode")]
public string Saledeptcode {get;set;}
///
/// Desc:名称
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnName="deptname")]
public string Deptname {get;set;}
///
/// Desc:地址
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="address")]
public string? Address {get;set;}
///
/// Desc:联系人
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="linkname")]
public string? Linkname {get;set;}
///
/// Desc:邮编
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="areacode")]
public string? Areacode {get;set;}
///
/// Desc:联系电话
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="phone")]
public string? Phone {get;set;}
///
/// Desc:创建时间
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="creationdate")]
public DateTime? Creationdate {get;set;}
///
/// Desc:创建人
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="creationby")]
public int? Creationby {get;set;}
///
/// Desc:修改时间
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="updatedate")]
public DateTime? Updatedate {get;set;}
///
/// Desc:修改人
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName="updateby")]
public int? Updateby {get;set;}
}
}