提交
This commit is contained in:
59
api_v1/Appointment.Entity/Model/ApptAuditor.cs
Normal file
59
api_v1/Appointment.Entity/Model/ApptAuditor.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
using Appointment.Entity.ValidateAttribute;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Appointment.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 预订审核结构
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
[SugarTable("appt_auditor")]
|
||||
public class ApptAuditor
|
||||
{
|
||||
/// <summary>
|
||||
/// 递增主键
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 审批类型[apptType.id]
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Appt_type_id")]
|
||||
public int ApptTypeId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 角色代码[uc_groupRes.op_group]
|
||||
/// </summary>
|
||||
[StringLength(50, MinLength = 2, ErrorMessage = "角色代码必须为2~50个字符")]
|
||||
[SugarColumn(ColumnName = "op_group")]
|
||||
public string OpGroup { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 角色名称[uc_groupRes.descript]
|
||||
/// </summary>
|
||||
[StringLength(50, MinLength = 2, ErrorMessage = "角色名称必须为2~50个字符")]
|
||||
[SugarColumn(ColumnName = "op_descript")]
|
||||
public string OpDescript { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所属父级:0-首审,
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "pid")]
|
||||
public int Pid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否支持转审:0-不支持,1-支持(当转审之后,不再回到审批流程)
|
||||
/// </summary>
|
||||
public int Custom { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子结点
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public ApptAuditor Child { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user