61 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.Base.SystemModule
{
/// <summary>
/// 版 本 PIT-ADMS V7.0.3 敏捷开发框架
/// Copyright (c) 2013-2018 Hexagon PPM
/// 创 建:超级管理员
/// 日 期2019-01-02 12:03
/// 描 述:图片保存
/// </summary>
[SugarTable(TableName = "LR_BASE_IMG")]
public class ImgEntity
{
#region
/// <summary>
/// 主键
/// </summary>
[SugarColumn(ColumnName = "F_ID", IsPrimaryKey = true)]
public string F_Id { get; set; }
/// <summary>
/// 图片名称
/// </summary>
[SugarColumn(ColumnName = "F_NAME")]
public string F_Name { get; set; }
/// <summary>
/// 扩展名
/// </summary>
[SugarColumn(ColumnName = "F_EXNAME")]
public string F_ExName { get; set; }
/// <summary>
/// 保存的图片内容
/// </summary>
[SugarColumn(ColumnName = "F_CONTENT")]
public string F_Content { 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
#region
#endregion
}
}