tuiwucarrer/Admin.NET/Admin.NET.Core/Entity/SysJsonStatic.cs

52 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Admin.NET.Core;
/// <summary>
/// 系统Json静态数据
/// </summary>
[SugarTable(null, "系统Json静态数据")]
[SysTable]
public class SysJsonStatic : EntityBase
{
/// <summary>
/// 名称
/// </summary>
[SugarColumn(ColumnDescription = "名称", Length = 200)]
[Required, MaxLength(200)]
public string Name { get; set; }
/// <summary>
/// Json内容
/// </summary>
[SugarColumn(ColumnDescription = "Json内容", Length = 200)]
[Required, MaxLength(int.MaxValue)]
public string JsonContext { get; set; }
/// <summary>
/// 外链链接
/// </summary>
[SugarColumn(ColumnDescription = "外链链接", Length = 500)]
[MaxLength(500)]
public string? OutLink { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnDescription = "备注", Length = 256)]
[MaxLength(256)]
public string? Remark { get; set; }
/// <summary>
/// 排序
/// </summary>
[SugarColumn(ColumnDescription = "排序")]
public int OrderNo { get; set; } = 100;
}