<?xml version="1.0" encoding="UTF-8" ?>
<beans
        xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

    <!-- 预算管理模块Budget实体Bean配置 -->
    <bean id="budget" class="com.ssm.ioc.Budget">
        <property name="budgetId" value="0001"/>
        <property name="category" value="餐饮预算"/>
        <property name="amount" value="5000.00"/>
        <property name="period" value="月度"/>
        <property name="startDate" value="2025-04-01"/>
        <property name="remark" value="无"/>
    </bean>
    <!-- 数据字典Dict Bean配置 -->
    <bean id="dict" class="com.ssm.ioc.Dict">
        <!-- 给属性注入值 -->
        <property name="dictId" value="1"/>
        <property name="dictType" value="income_type"/>
        <property name="dictCode" value="1"/>
        <property name="dictName" value="工资收入"/>
        <property name="dictSort" value="1"/>
        <property name="isValid" value="Y"/>
    </bean>
    <!-- 通知管理模块Notice实体Bean配置 -->
        <bean id="notice" class="com.ssm.ioc.Notice">
            <property name="noticeId" value="1"/>
            <property name="userId" value="1001"/>
            <property name="noticeTitle" value="月度预算提醒"/>
            <property name="noticeContent" value="您本月餐饮预算已使用80%，请注意控制支出"/>
            <property name="noticeType" value="预算提醒"/>
            <property name="noticeStatus" value="0"/>
            <property name="createTime" value="2026-4-10 09:00:00"/>
        </bean>
    <!-- 持股管理模块StockHolder实体Bean配置 -->
    <bean id="stockholder" class="com.ssm.ioc.StockHolder">
        <property name="holderId" value="1"/>
        <property name="stockCode" value="5201314"/>
        <property name="stockName" value="黄金"/>
        <property name="holdNum" value="10"/>
        <property name="buyDate" value="2025-12-5"/>
    </bean>
</beans>