- Migrated 4 components from ECharts to Chart.js: * MonthlyExpenseCard.vue (折线图) * DailyTrendChart.vue (双系列折线图) * ExpenseCategoryCard.vue (环形图) * BudgetChartAnalysis.vue (仪表盘 + 多种图表) - Removed all ECharts imports and environment variable switches - Unified all charts to use BaseChart.vue component - Build verified: pnpm build success ✓ - No echarts imports remaining ✓ Refs: openspec/changes/migrate-remaining-echarts-to-chartjs
30 lines
734 B
C#
30 lines
734 B
C#
namespace Entity;
|
||
|
||
/// <summary>
|
||
/// 交易分类
|
||
/// </summary>
|
||
public class TransactionCategory : BaseEntity
|
||
{
|
||
/// <summary>
|
||
/// 分类名称
|
||
/// </summary>
|
||
public string Name { get; set; } = string.Empty;
|
||
|
||
/// <summary>
|
||
/// 交易类型(支出/收入)
|
||
/// </summary>
|
||
public TransactionType Type { get; set; }
|
||
|
||
/// <summary>
|
||
/// 图标(Iconify标识符格式:{collection}:{name},如"mdi:home")
|
||
/// </summary>
|
||
[Column(StringLength = 50)]
|
||
public string? Icon { get; set; }
|
||
|
||
/// <summary>
|
||
/// 搜索关键字(JSON数组,如["food", "restaurant", "dining"])
|
||
/// </summary>
|
||
[Column(StringLength = 200)]
|
||
public string? IconKeywords { get; set; }
|
||
}
|