You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ZhongLianModel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组实体类
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("AT_Group_zl")]
|
|
|
|
|
public class GroupDO
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, Length = 64)]
|
|
|
|
|
public string? Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 父键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 64,IsNullable = true)]
|
|
|
|
|
public string? PId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 50, IsNullable = true)]
|
|
|
|
|
public string? Code { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 系统
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
[SugarColumn(IsIgnore = true, IsNullable = true)]
|
|
|
|
|
public string? System { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 250, IsNullable = true)]
|
|
|
|
|
public string? Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 类型{0:组织结构}
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(Length = 2, IsNullable = true)]
|
|
|
|
|
public int? Type { 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; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|