HuanMengAdmin/admin-server/MiaoYu.Core.CodeGenerator/Models/TableMetaConfig.cs
2025-11-08 02:39:31 +08:00

64 lines
1.4 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.

namespace MiaoYu.Core.CodeGenerator.Models;
/// <summary>
/// 表元信息配置
/// </summary>
public class TableMetaConfig
{
/// <summary>
/// 显示名称
/// </summary>
public string? DisplayName { get; set; }
/// <summary>
/// 实体名称
/// </summary>
public string? EntityName { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remark { get; set; }
/// <summary>
/// 实体保存路径
/// </summary>
public string? ModelPath { get; set; }
/// <summary>
/// 服务保存路径
/// </summary>
public string? ServicePath { get; set; }
/// <summary>
/// 控制器保存路径
/// </summary>
public string? ControllerPath { get; set; }
/// <summary>
/// 前端视图保存路径
/// </summary>
public string? ClientIndexPath { get; set; }
/// <summary>
/// 前端信息弹窗保存位置
/// </summary>
public string? ClientInfoPath { get; set; }
/// <summary>
/// 前端服务保存位置
/// </summary>
public string? ClientServicePath { get; set; }
/// <summary>
/// 是否覆盖生成
/// </summary>
public bool IsCover { get; set; } = false;
/// <summary>
/// 列配置Key: ColumnName
/// </summary>
public Dictionary<string, ColumnMetaConfig>? Columns { get; set; }
}