|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace ZhongLianModel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司实体类
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("CRM_Company_zl")]
|
|
|
|
|
public class CompanyDO
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, Length = 64)]
|
|
|
|
|
public string? Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 50, IsNullable = true)]
|
|
|
|
|
public string? Code { get; set; }
|
|
|
|
|
|
|
|
|
|
[SugarColumn(IsIgnore = true, IsNullable = true)]
|
|
|
|
|
public string? System { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 250, IsNullable = true)]
|
|
|
|
|
public string? Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 法人代表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 50, IsNullable = true)]
|
|
|
|
|
public string? LegalPerson { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 社会信用代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 50, IsNullable = true)]
|
|
|
|
|
public string? SCCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 人员规模
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 60, IsNullable = true)]
|
|
|
|
|
public string? Scale { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司性质
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 200, IsNullable = true)]
|
|
|
|
|
public string? Character { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 500, IsNullable = true)]
|
|
|
|
|
public string? Address { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 定位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 20, IsNullable = true)]
|
|
|
|
|
public string? Location { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 联系电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 60, IsNullable = true)]
|
|
|
|
|
public string? Tel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 简介
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 500,IsNullable = true)]
|
|
|
|
|
public string? BriefIntroduction { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 24, IsNullable = true)]
|
|
|
|
|
public string? CreateDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 删除标识
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 1, IsNullable = true)]
|
|
|
|
|
public int? Deleted { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|