44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
using Kurisu.SqlSugar;
|
|
using SqlSugar;
|
|
|
|
namespace Dlhis.Entity.Common;
|
|
|
|
/// <summary>
|
|
/// 文件版本信息
|
|
/// </summary>
|
|
[SugarTable(TableName = "FileVersion", TableDescription = "文件版本信息")]
|
|
public class FileVersionEntity : SugarBaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 文件名称
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "文件名称")]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 文件code
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "文件code", UniqueGroupNameList = new[] { "idx_FileVersion_Code" })]
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 版本号
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "版本号")]
|
|
public int Version { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述信息
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "描述信息")]
|
|
public string Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// 文件地址
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "文件地址")]
|
|
public string Url { get; set; }
|
|
}
|
|
|
|
|