57 lines
1.6 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_DELEGATERELATION")]
public class NWFDelegateRelationEntity
{
#region
/// <summary>
/// 主键
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_ID", IsPrimaryKey = true)]
public string F_Id { get; set; }
/// <summary>
/// 委托规则主键
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_DELEGATERULEID")]
public string F_DelegateRuleId { get; set; }
/// <summary>
/// 流程模板信息主键
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_SCHEMEINFOID")]
public string F_SchemeInfoId { 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
}
}