LFlow/LFlow.Home/Models/DataModels/HomeModel.cs

25 lines
542 B
C#
Raw Normal View History

2024-10-09 14:45:09 +08:00
using LFlow.Base.Interfaces;
2024-10-09 17:10:05 +08:00
using SqlSugar;
2024-10-09 14:45:09 +08:00
namespace LFlow.Home.Models.DataModels;
2024-10-09 17:10:05 +08:00
[SugarTable("T_B_HOME")]
2024-10-09 14:45:09 +08:00
public class HomeModel : IDataModel
{
2024-10-09 16:46:49 +08:00
/// <summary>
2024-10-09 17:10:05 +08:00
/// ID - GUID
2024-10-09 16:46:49 +08:00
/// </summary>
2024-10-09 17:10:05 +08:00
[SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
2024-10-09 16:46:49 +08:00
public string? Id { get; set; }
2024-10-09 14:45:09 +08:00
public string? ModuleName { get; set; }
public string? ModuleUrl { get; set; }
public string? ModuleVer { get; set; }
2024-10-09 16:46:49 +08:00
public override string ToString()
{
return $"HomeModel {Id}";
}
2024-10-09 14:45:09 +08:00
}