62 lines
1.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 System;
using System.ComponentModel.DataAnnotations.Schema;
using SqlSugar;
namespace Learun.Application.AppMagager
{
/// <summary>
/// 版 本 PIT-ADMS V7.0.3 敏捷开发框架
/// Copyright (c) 2013-2018 Hexagon PPM
/// 创 建:超级管理员
/// 日 期2018-06-26 10:32
/// 描 述:我的常用移动应用
/// </summary>
[SugarTable(TableName = "LR_APP_MYFUNCTION")]
public class MyFunctionEntity
{
#region
/// <summary>
/// 主键
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_ID", IsPrimaryKey = true)]
public string F_Id { get; set; }
/// <summary>
/// 用户主键ID
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_USERID")]
public string F_UserId { get; set; }
/// <summary>
/// 功能主键
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_FUNCTIONID")]
public string F_FunctionId { get; set; }
/// <summary>
/// 排序码
/// </summary>
[SugarColumn(ColumnName = "F_SORT")]
public int? F_Sort { 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
}
}