128 lines
3.7 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.Schema;
namespace Learun.Application.WorkFlow
{
/// <summary>
/// 版 本 PIT-ADMS V7.0.3 敏捷开发框架
/// Copyright (c) 2013-2018 Hexagon PPM
/// 创建人:研发部
/// 日 期2017.04.17
/// 描 述:工作流模板信息
/// </summary>
[SugarTable(TableName = "LR_WF_SCHEMEINFO")]
public class WfSchemeInfoEntity
{
#region
/// <summary>
/// 主键
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_ID", IsPrimaryKey = true)]
public string F_Id { get; set; }
/// <summary>
/// 流程模板编号
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_CODE")]
public string F_Code { get; set; }
/// <summary>
/// 流程模板名称
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_NAME")]
public string F_Name { get; set; }
/// <summary>
/// 流程模板分类
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_CATEGORY")]
public string F_Category { get; set; }
/// <summary>
/// 流程类型1自定义流程0系统流程
/// </summary>
[SugarColumn(ColumnName = "F_KIND")]
public int? F_Kind { get; set; }
/// <summary>
/// 是否在移動端顯示
/// </summary>
[SugarColumn(ColumnName = "F_ISAPP")]
public int? F_IsApp { get; set; }
/// <summary>
/// 流程模板主键
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_SCHEMEID")]
public string F_SchemeId { get; set; }
/// <summary>
/// 删除标记
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_DELETEMARK")]
public int? F_DeleteMark { get; set; }
/// <summary>
/// 有效
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_ENABLEDMARK")]
public int? F_EnabledMark { get; set; }
/// <summary>
/// 备注
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_DESCRIPTION")]
public string F_Description { get; set; }
#endregion
#region
/// <summary>
/// 新增调用
/// </summary>
public void Create()
{
this.F_DeleteMark = 0;
this.F_EnabledMark = 1;
this.F_Id = Guid.NewGuid().ToString();
}
/// <summary>
/// 编辑调用
/// </summary>
/// <param name="keyValue">主键</param>
public void Modify(string keyValue)
{
this.F_Id = keyValue;
}
#endregion
#region
/// <summary>
/// 1.正式已发布2.草稿
/// </summary>
/// <returns></returns>
[SugarColumn(IsIgnore = true)]
public int? F_Type { get; set; }
/// <summary>
/// 创建时间
/// </summary>
/// <returns></returns>
[SugarColumn(IsIgnore = true)]
public DateTime? F_CreateDate { get; set; }
/// <summary>
/// 创建用户主键
/// </summary>
/// <returns></returns>
[SugarColumn(IsIgnore = true)]
public string F_CreateUserId { get; set; }
/// <summary>
/// 创建用户
/// </summary>
/// <returns></returns>
[SugarColumn(IsIgnore = true)]
public string F_CreateUserName { get; set; }
#endregion
}
}