using SqlSugar;
namespace YBDevice.Entity
{
///
/// 客户列表
///
[SugarTable("YB_Business", TableDescription = "客户列表", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
public class YB_Business
{
///
///
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public System.Int32 Id { get; set; }
///
/// 编码
///
[SugarColumn(ColumnDescription = "编码", ColumnDataType = "varchar(100)")]
public System.String Code { get; set; }
///
/// 上级客户ID
///
[SugarColumn(ColumnDescription = "上级客户ID")]
public System.Int32 ParentId { get; set; }
///
/// 客户名称
///
[SugarColumn(ColumnDescription = "客户名称", ColumnDataType = "nvarchar(100)")]
public System.String Name { get; set; }
///
/// 手机号
///
[SugarColumn(ColumnDescription = "手机号", ColumnDataType = "varchar(20)")]
public System.String Phone { get; set; }
///
/// 类型,1-系统默认
///
[SugarColumn(ColumnDescription = "类型,1-系统默认")]
public System.Int32 Type { get; set; }
///
/// 备注
///
[SugarColumn(ColumnDescription = "备注", ColumnDataType = "nvarchar(200)")]
public System.String Remark { get; set; }
///
/// 状态,0-禁用,1-启用
///
[SugarColumn(ColumnDescription = "状态,0-禁用,1-启用")]
public StatusType Status { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnDescription = "创建时间")]
public System.DateTime CreateTime { get; set; }
}
}