69 lines
2.0 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
/// 创建人:研发部
/// 日 期2018.12.06
/// 描 述:工作流模板权限(新)
/// </summary>
[SugarTable(TableName = "LR_NWF_SCHEMEAUTH")]
public class NWFSchemeAuthEntity
{
#region
/// <summary>
/// 主键
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_ID", IsPrimaryKey = true)]
public string F_Id { get; set; }
/// <summary>
/// 流程模板信息主键
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_SCHEMEINFOID")]
public string F_SchemeInfoId { get; set; }
/// <summary>
/// 对象名称
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_OBJNAME")]
public string F_ObjName { get; set; }
/// <summary>
/// 对应对象主键
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_OBJID")]
public string F_ObjId { get; set; }
/// <summary>
/// 对应对象类型1岗位2角色3用户4所用人可看
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_OBJTYPE")]
public int? F_ObjType { get; set; }
#endregion
#region
/// <summary>
/// 新增调用
/// </summary>
public void Create()
{
this.F_Id = Guid.NewGuid().ToString();
}
/// <summary>
/// 编辑调用
/// </summary>
/// <param name="keyValue"></param>
public void Modify(string keyValue)
{
this.F_Id = keyValue;
}
#endregion
}
}