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 实体成员
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true)]
public string Id { get; set; }
///
/// 流程编码
///
public string Code { get; set; }
///
/// 流程模板名
///
public string Name { get; set; }
///
/// 流程分类
///
public string Category { get; set; }
///
/// 模板颜色
///
public string Color { get; set; }
///
/// 模板图标
///
public string Icon { get; set; }
///
/// 流程模板ID
///
public string SchemeId { get; set; }
///
/// 是否有效
///
public int? EnabledMark { get; set; }
///
/// 是否在我的任务允许发起 1允许 2不允许
///
public int? Mark { get; set; }
///
/// 是否在App上允许发起 1允许 2不允许
///
public int? IsInApp { get; set; }
///
/// 流程权限类型1.都能发起 2.指定用户可发起
///
public int? AuthType { get; set; }
///
/// 备注
///
public string Description { get; set; }
#endregion
#region 扩展字段
///
/// 1.正式(已发布)2.草稿
///
[SugarColumn(IsIgnore = true)]
public int? Type { get; set; }
///
/// 创建时间
///
[SugarColumn(IsIgnore = true)]
public DateTime? CreateDate { get; set; }
///
/// 创建用户主键
///
[SugarColumn(IsIgnore = true)]
public string CreateUserId { get; set; }
///
/// 创建用户
///
[SugarColumn(IsIgnore = true)]
public string CreateUserName { get; set; }
#endregion
}
}