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.

92 lines
2.5 KiB
C#

5 months ago
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenAuth.Repository.Domain
{
[SugarTable("wf_schemeinfo")]
public class WFSchemeInfo
{
#region 实体成员
/// <summary>
/// 主键
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public string Id { get; set; }
/// <summary>
/// 流程编码
/// </summary>
public string Code { get; set; }
/// <summary>
/// 流程模板名
/// </summary>
public string Name { get; set; }
/// <summary>
/// 流程分类
/// </summary>
public string Category { get; set; }
/// <summary>
/// 模板颜色
/// </summary>
public string Color { get; set; }
/// <summary>
/// 模板图标
/// </summary>
public string Icon { get; set; }
/// <summary>
/// 流程模板ID
/// </summary>
public string SchemeId { get; set; }
/// <summary>
/// 是否有效
/// </summary>
public int? EnabledMark { get; set; }
/// <summary>
/// 是否在我的任务允许发起 1允许 2不允许
/// </summary>
public int? Mark { get; set; }
/// <summary>
/// 是否在App上允许发起 1允许 2不允许
/// </summary>
public int? IsInApp { get; set; }
/// <summary>
/// 流程权限类型1.都能发起 2.指定用户可发起
/// </summary>
public int? AuthType { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Description { get; set; }
#endregion
#region 扩展字段
/// <summary>
/// 1.正式已发布2.草稿
/// </summary>
[SugarColumn(IsIgnore = true)]
public int? Type { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(IsIgnore = true)]
public DateTime? CreateDate { get; set; }
/// <summary>
/// 创建用户主键
/// </summary>
[SugarColumn(IsIgnore = true)]
public string CreateUserId { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[SugarColumn(IsIgnore = true)]
public string CreateUserName { get; set; }
#endregion
}
}