namespace Entity;
///
/// 交易分类
///
public class TransactionCategory : BaseEntity
{
///
/// 分类名称
///
public string Name { get; set; } = string.Empty;
///
/// 交易类型(支出/收入)
///
public TransactionType Type { get; set; }
///
/// 图标(Iconify标识符格式:{collection}:{name},如"mdi:home")
///
[Column(StringLength = 50)]
public string? Icon { get; set; }
///
/// 搜索关键字(JSON数组,如["food", "restaurant", "dining"])
///
[Column(StringLength = 200)]
public string? IconKeywords { get; set; }
}