Files
HTCloud/HT.Cloud.Domain/Entity/SystemManage/FlowschemeEntity.cs
2023-08-24 09:28:09 +08:00

184 lines
6.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;
namespace HT.Cloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2020-07-10 08:49
/// 描 述:流程设计实体类
/// </summary>
[SugarTable("sys_flowscheme")]
[TenantAttribute("0")]
public class FlowschemeEntity : IEntity<FlowschemeEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
{
/// <summary>
/// 主键Id
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
public string F_Id { get; set; }
/// <summary>
/// 流程编号
/// </summary>
/// <returns></returns>
[Required(ErrorMessage = "流程编号不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_SchemeCode", ColumnDataType = "nvarchar(50)", ColumnDescription = "流程编号", UniqueGroupNameList = new string[] { "sys_flowscheme" })]
public string F_SchemeCode { get; set; }
/// <summary>
/// 流程名称
/// </summary>
/// <returns></returns>
[Required(ErrorMessage = "流程名称不能为空")]
[SugarColumn(IsNullable = true, ColumnName = "F_SchemeName", ColumnDataType = "nvarchar(200)", ColumnDescription = "流程名称")]
public string F_SchemeName { get; set; }
/// <summary>
/// 流程分类
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_SchemeType", ColumnDataType = "nvarchar(50)", ColumnDescription = "流程分类")]
public string F_SchemeType { get; set; }
/// <summary>
/// 流程内容版本
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_SchemeVersion", ColumnDataType = "nvarchar(50)", ColumnDescription = "流程内容版本")]
public string F_SchemeVersion { get; set; }
/// <summary>
/// 流程模板使用者
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_SchemeCanUser", ColumnDataType = "longtext", ColumnDescription = "流程模板使用者")]
public string F_SchemeCanUser { get; set; }
/// <summary>
/// 流程内容
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_SchemeContent", ColumnDataType = "longtext", ColumnDescription = "流程内容")]
public string F_SchemeContent { get; set; }
/// <summary>
/// 表单ID
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_FrmId", ColumnDataType = "nvarchar(50)", ColumnDescription = "表单ID")]
public string F_FrmId { get; set; }
/// <summary>
/// 表单类型
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = false, ColumnDescription = "表单类型")]
public int F_FrmType { get; set; }
/// <summary>
/// 模板权限类型0完全公开,1指定部门/人员
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = false, ColumnDescription = "模板权限类型0完全公开,1指定部门/人员")]
public int F_AuthorizeType { get; set; }
/// <summary>
/// 排序码
/// </summary>
/// <returns></returns>
[Required(ErrorMessage = "排序不能为空")]
[Range(0, 99999999, ErrorMessage = "排序大小必须介于1~99999999之间")]
[SugarColumn(IsNullable = true, ColumnDescription = "排序码")]
public int? F_SortCode { get; set; }
/// <summary>
/// 删除标记
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "删除标记")]
public bool? F_DeleteMark { get; set; }
/// <summary>
/// 有效
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "有效")]
public bool? F_EnabledMark { get; set; }
/// <summary>
/// 备注
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "nvarchar(200)", ColumnDescription = "备注")]
public string F_Description { get; set; }
/// <summary>
/// 创建时间
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
/// 创建用户主键
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建用户主键")]
public string F_CreatorUserId { get; set; }
/// <summary>
/// 创建用户
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserName", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建用户")]
public string F_CreatorUserName { get; set; }
/// <summary>
/// 修改时间
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
public DateTime? F_LastModifyTime { get; set; }
/// <summary>
/// 修改用户主键
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改用户主键")]
public string F_LastModifyUserId { get; set; }
/// <summary>
/// 修改用户
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserName", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改用户")]
public string F_LastModifyUserName { get; set; }
/// <summary>
/// 所属部门
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_OrganizeId", ColumnDataType = "nvarchar(50)", ColumnDescription = "所属部门")]
public string F_OrganizeId { get; set; }
/// <summary>
/// 删除时间
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnDescription = "删除时间")]
public DateTime? F_DeleteTime { get; set; }
/// <summary>
/// 删除人
/// </summary>
/// <returns></returns>
[SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人")]
public string F_DeleteUserId { get; set; }
[SugarColumn(IsIgnore = true)]
public string F_ParentId { get; set; }
}
}