2025-09-26 13:35:45 +08:00
|
|
|
|
/*
|
|
|
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
|
|
|
|
|
*/
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
using VOL.Entity.SystemModels;
|
|
|
|
|
|
|
|
|
|
|
|
namespace VOL.Entity.DomainModels
|
|
|
|
|
|
{
|
|
|
|
|
|
[Entity(TableCnName = "跨系统部门关联",TableName = "HR_DeptShip")]
|
|
|
|
|
|
public partial class HR_DeptShip:BaseEntity
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
///关联关系ID
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
|
|
|
|
[Key]
|
|
|
|
|
|
[Display(Name ="关联关系ID")]
|
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
|
public int ShipId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-09-30 08:59:35 +08:00
|
|
|
|
///YSERP部门
|
2025-09-26 13:35:45 +08:00
|
|
|
|
/// </summary>
|
2025-09-30 08:59:35 +08:00
|
|
|
|
[Display(Name ="YSERP部门")]
|
2025-09-26 13:35:45 +08:00
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
|
[Column(TypeName="nvarchar(100)")]
|
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
|
public string YSDeptId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
///YS部门名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name ="YS部门名称")]
|
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
|
[Column(TypeName="nvarchar(100)")]
|
|
|
|
|
|
public string YSDeptName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-09-30 08:59:35 +08:00
|
|
|
|
///钉钉部门
|
2025-09-26 13:35:45 +08:00
|
|
|
|
/// </summary>
|
2025-09-30 08:59:35 +08:00
|
|
|
|
[Display(Name ="钉钉部门")]
|
2025-09-26 13:35:45 +08:00
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
|
[Column(TypeName="nvarchar(100)")]
|
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
|
public string DingTalkDeptId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
///钉钉部门名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name ="钉钉部门名称")]
|
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
|
[Column(TypeName="nvarchar(100)")]
|
|
|
|
|
|
public string DingTalkDeptName { get; set; }
|
|
|
|
|
|
|
2025-09-30 08:59:35 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///根节点
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Display(Name ="根节点")]
|
|
|
|
|
|
[Column(TypeName="bool")]
|
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
|
public bool? IsRoot { get; set; }
|
|
|
|
|
|
|
2025-09-26 13:35:45 +08:00
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|