Files
EmailBill/Entity/TransactionCategory.cs

30 lines
734 B
C#
Raw Normal View History

namespace Entity;
2025-12-25 11:20:56 +08:00
/// <summary>
2025-12-26 15:21:31 +08:00
/// 交易分类
2025-12-25 11:20:56 +08:00
/// </summary>
public class TransactionCategory : BaseEntity
{
/// <summary>
/// 分类名称
/// </summary>
public string Name { get; set; } = string.Empty;
/// <summary>
/// 交易类型(支出/收入)
/// </summary>
public TransactionType Type { get; set; }
2026-02-02 11:07:34 +08:00
/// <summary>
/// 图标Iconify标识符格式{collection}:{name},如"mdi:home"
2026-02-02 11:07:34 +08:00
/// </summary>
[Column(StringLength = 50)]
2026-02-02 11:07:34 +08:00
public string? Icon { get; set; }
/// <summary>
/// 搜索关键字JSON数组如["food", "restaurant", "dining"]
/// </summary>
[Column(StringLength = 200)]
public string? IconKeywords { get; set; }
2025-12-25 11:20:56 +08:00
}