75 lines
2.0 KiB
C#
75 lines
2.0 KiB
C#
/*
|
||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||
*如果数据库字段发生变化,请在代码生器重新生成此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>
|
||
///YSERP部门
|
||
/// </summary>
|
||
[Display(Name ="YSERP部门")]
|
||
[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>
|
||
///钉钉部门
|
||
/// </summary>
|
||
[Display(Name ="钉钉部门")]
|
||
[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; }
|
||
|
||
/// <summary>
|
||
///根节点
|
||
/// </summary>
|
||
[Display(Name ="根节点")]
|
||
[Column(TypeName="bool")]
|
||
[Editable(true)]
|
||
public bool? IsRoot { get; set; }
|
||
|
||
|
||
}
|
||
} |