{"ok":true,"summary":{"active_batches":1,"current_qty":567,"today_loss":0,"ready_batches":0,"due_soon":0,"feed_month_amount":0},"batches":[{"id":1,"batch_no":"FB-20260610-001","batch_name":"X11-竹地雞0日齡","species":"竹地雞","source_type":"home_hatched","source_batch_id":null,"source_summary":null,"house_id":2,"zone_id":2,"start_date":"2026-06-12","start_age_days":0,"initial_qty":567,"current_qty":567,"purchase_unit_price":"0.00","purchase_amount":"0.00","expected_slaughter_date":"2026-09-09","status":"preparing","note":null,"created_by":1,"created_at":"2026-06-10 00:09:13","updated_at":"2026-06-12 13:48:53","house_name":"B 棟","zone_name":"1 區","loss_qty":0,"feed_amount":0,"feed_qty":"0.000","health_amount":0,"other_amount":0,"source_label":"自家孵化","status_label":"準備中","mortality_rate":0,"age_days":7,"total_cost":0,"cost_per_current_bird":0}],"daily_records":[],"feed_usage":[],"feed_purchases":[],"feed_analysis":[],"health_records":[],"cost_records":[],"houses":[{"id":1,"house_name":"A 棟","capacity":1000,"sort_order":10,"status":"active","current_status":"active","created_at":"2026-06-09 13:29:00","updated_at":"2026-06-19 09:42:17","current_qty":"0"},{"id":2,"house_name":"B 棟","capacity":1000,"sort_order":20,"status":"active","current_status":"active","created_at":"2026-06-09 13:29:00","updated_at":"2026-06-19 09:42:17","current_qty":"567"}],"zones":[{"id":1,"house_id":1,"zone_name":"1 區","capacity":500,"sort_order":10,"status":"active","created_at":"2026-06-09 13:29:00","updated_at":"2026-06-19 09:42:17","house_name":"A 棟","current_qty":"0"},{"id":2,"house_id":2,"zone_name":"1 區","capacity":500,"sort_order":10,"status":"active","created_at":"2026-06-09 13:29:00","updated_at":"2026-06-19 09:42:17","house_name":"B 棟","current_qty":"567"}],"feed_items":[{"id":1,"feed_name":"小雞料","feed_type":"starter","unit":"包","unit_weight":"30.000","unit_weight_unit":"kg","unit_price":"0.00","supplier_name":null,"sort_order":10,"status":"active","created_at":"2026-06-09 13:29:00","updated_at":"2026-06-19 09:42:17"},{"id":2,"feed_name":"中雞料","feed_type":"grower","unit":"包","unit_weight":"30.000","unit_weight_unit":"kg","unit_price":"0.00","supplier_name":null,"sort_order":20,"status":"active","created_at":"2026-06-09 13:29:00","updated_at":"2026-06-19 09:42:17"},{"id":3,"feed_name":"大雞料","feed_type":"finisher","unit":"包","unit_weight":"30.000","unit_weight_unit":"kg","unit_price":"0.00","supplier_name":null,"sort_order":30,"status":"active","created_at":"2026-06-09 13:29:00","updated_at":"2026-06-19 09:42:17"},{"id":4,"feed_name":"蛋雞料","feed_type":"layer","unit":"包","unit_weight":"30.000","unit_weight_unit":"kg","unit_price":"0.00","supplier_name":null,"sort_order":40,"status":"active","created_at":"2026-06-09 13:29:00","updated_at":"2026-06-19 09:42:17"}],"feed_suppliers":[{"id":3867,"source":"expense_vendor","supplier_name":"中美嘉吉股份有限公司","label":"中美嘉吉股份有限公司 · 飼料供應商"},{"id":3872,"source":"expense_vendor","supplier_name":"伍珍穀粉","label":"伍珍穀粉 · 飼料供應商"},{"id":3869,"source":"expense_vendor","supplier_name":"吉升飼料","label":"吉升飼料 · 飼料供應商"},{"id":3870,"source":"expense_vendor","supplier_name":"宏彥生技","label":"宏彥生技 · 飼料供應商"},{"id":1915,"source":"expense_vendor","supplier_name":"社子飼料行","label":"社子飼料行 · 飼料供應商"},{"id":3866,"source":"expense_vendor","supplier_name":"統一企業股份有限公司","label":"統一企業股份有限公司 · 飼料供應商"},{"id":584,"source":"expense_vendor","supplier_name":"統一飼料","label":"統一飼料 · 飼料供應商"},{"id":3868,"source":"expense_vendor","supplier_name":"青埔碾米廠","label":"青埔碾米廠 · 飼料供應商"},{"id":3871,"source":"expense_vendor","supplier_name":"鴻太實業","label":"鴻太實業 · 飼料供應商"}],"health_suppliers":[{"id":3873,"source":"expense_vendor","supplier_name":"國盛生化","label":"國盛生化 · 藥品疫苗"},{"id":3874,"source":"expense_vendor","supplier_name":"艾迪威","label":"艾迪威 · 藥品疫苗"},{"id":3944,"source":"expense_vendor","supplier_name":"英特威","label":"英特威 · 藥品疫苗"}],"breeder_batches":[],"egg_records":[],"incubations":[],"feed_lots":[],"health_items":[{"id":1,"item_name":"馬立克","item_type":"vaccine","unit":"瓶","default_unit_price":"1000.00","default_withdrawal_days":0,"status":"active","note":null,"created_at":"2026-06-12 14:27:46","updated_at":"2026-06-12 14:27:46"}],"health_lots":[{"id":1,"item_id":1,"lot_no":"HL-20260612-001","received_date":"2026-06-12","item_name":"馬立克","qty":"5.000","remaining_qty":"5.000","unit":"瓶","unit_price":"1000.00","amount":"5000.00","supplier_name":null,"expiry_date":null,"status":"active","note":null,"created_at":"2026-06-12 14:28:23","updated_at":"2026-06-12 14:28:23"}],"immunization_programs":[{"id":1,"program_name":"有色肉雞標準疫苗流程","species_keywords":"竹地雞,土雞,有色,紅羽,文昌","status":"active","sort_order":10,"note":"可依獸醫、法規與場內策略調整","created_at":"2026-06-12 12:55:32","updated_at":"2026-06-12 14:39:48"}],"immunization_steps":[{"id":1,"program_id":1,"day_age":0,"age_label":"0日齡","item_name":"馬立克氏病疫苗","method":"注射","dosage":"0.02cc","default_withdrawal_days":0,"note":"孵化場或育雛前執行","sort_order":10,"status":"active","created_at":"2026-06-12 12:55:32","updated_at":"2026-06-12 14:31:41","program_name":"有色肉雞標準疫苗流程","species_keywords":"竹地雞,土雞,有色,紅羽,文昌"},{"id":8,"program_id":1,"day_age":0,"age_label":"0日齡","item_name":"馬立克","method":"注射","dosage":"依疫苗標示","default_withdrawal_days":0,"note":null,"sort_order":10,"status":"active","created_at":"2026-06-12 14:06:14","updated_at":"2026-06-12 14:37:56","program_name":"有色肉雞標準疫苗流程","species_keywords":"竹地雞,土雞,有色,紅羽,文昌"},{"id":6,"program_id":1,"day_age":1,"age_label":"1日齡","item_name":"IBD","method":"點眼","dosage":"0.01cc","default_withdrawal_days":0,"note":null,"sort_order":10,"status":"active","created_at":"2026-06-12 14:00:47","updated_at":"2026-06-12 14:39:48","program_name":"有色肉雞標準疫苗流程","species_keywords":"竹地雞,土雞,有色,紅羽,文昌"},{"id":2,"program_id":1,"day_age":7,"age_label":"7-10日齡","item_name":"新城病活毒苗（B1型）","method":"點眼 / 點鼻","dosage":"依疫苗標示","default_withdrawal_days":0,"note":"有色肉雞常規免疫","sort_order":20,"status":"active","created_at":"2026-06-12 12:55:32","updated_at":"2026-06-12 12:55:32","program_name":"有色肉雞標準疫苗流程","species_keywords":"竹地雞,土雞,有色,紅羽,文昌"},{"id":3,"program_id":1,"day_age":21,"age_label":"3週齡","item_name":"傳染性支氣管炎疫苗","method":"飲水","dosage":"依疫苗標示","default_withdrawal_days":0,"note":"依獸醫與場內策略調整","sort_order":30,"status":"active","created_at":"2026-06-12 12:55:32","updated_at":"2026-06-12 12:55:32","program_name":"有色肉雞標準疫苗流程","species_keywords":"竹地雞,土雞,有色,紅羽,文昌"},{"id":4,"program_id":1,"day_age":35,"age_label":"5-6週齡","item_name":"新城病油乳劑疫苗","method":"注射","dosage":"依疫苗標示","default_withdrawal_days":0,"note":"出場前免疫追溯","sort_order":40,"status":"active","created_at":"2026-06-12 12:55:32","updated_at":"2026-06-12 12:55:32","program_name":"有色肉雞標準疫苗流程","species_keywords":"竹地雞,土雞,有色,紅羽,文昌"},{"id":5,"program_id":1,"day_age":70,"age_label":"10-12週齡","item_name":"禽流感疫苗（H5+H7）","method":"注射","dosage":"依疫苗標示","default_withdrawal_days":0,"note":"依法令與獸醫指示執行","sort_order":50,"status":"active","created_at":"2026-06-12 12:55:32","updated_at":"2026-06-12 12:55:32","program_name":"有色肉雞標準疫苗流程","species_keywords":"竹地雞,土雞,有色,紅羽,文昌"}],"health_plan":[{"id":2,"batch_id":1,"due_date":"2026-06-19","scheduled_status":"planned","health_record_id":null,"batch_no":"FB-20260610-001","batch_name":"X11-竹地雞0日齡","species":"竹地雞","day_age":7,"age_label":"7-10日齡","item_name":"新城病活毒苗（B1型）","method":"點眼 / 點鼻","dosage":"依疫苗標示","default_withdrawal_days":0,"note":"有色肉雞常規免疫","program_name":"有色肉雞標準疫苗流程","done_date":null,"status":"today"},{"id":1,"batch_id":1,"due_date":"2026-06-12","scheduled_status":"planned","health_record_id":null,"batch_no":"FB-20260610-001","batch_name":"X11-竹地雞0日齡","species":"竹地雞","day_age":0,"age_label":"0日齡","item_name":"馬立克氏病疫苗","method":"注射","dosage":"0.02cc","default_withdrawal_days":0,"note":"孵化場或育雛前執行","program_name":"有色肉雞標準疫苗流程","done_date":null,"status":"overdue"},{"id":94,"batch_id":1,"due_date":"2026-06-12","scheduled_status":"planned","health_record_id":null,"batch_no":"FB-20260610-001","batch_name":"X11-竹地雞0日齡","species":"竹地雞","day_age":0,"age_label":"0日齡","item_name":"馬立克","method":"注射","dosage":"依疫苗標示","default_withdrawal_days":0,"note":null,"program_name":"有色肉雞標準疫苗流程","done_date":null,"status":"overdue"},{"id":16,"batch_id":1,"due_date":"2026-06-13","scheduled_status":"planned","health_record_id":null,"batch_no":"FB-20260610-001","batch_name":"X11-竹地雞0日齡","species":"竹地雞","day_age":1,"age_label":"1日齡","item_name":"IBD","method":"點眼","dosage":"0.01cc","default_withdrawal_days":0,"note":null,"program_name":"有色肉雞標準疫苗流程","done_date":null,"status":"overdue"},{"id":3,"batch_id":1,"due_date":"2026-07-03","scheduled_status":"planned","health_record_id":null,"batch_no":"FB-20260610-001","batch_name":"X11-竹地雞0日齡","species":"竹地雞","day_age":21,"age_label":"3週齡","item_name":"傳染性支氣管炎疫苗","method":"飲水","dosage":"依疫苗標示","default_withdrawal_days":0,"note":"依獸醫與場內策略調整","program_name":"有色肉雞標準疫苗流程","done_date":null,"status":"upcoming"},{"id":4,"batch_id":1,"due_date":"2026-07-17","scheduled_status":"planned","health_record_id":null,"batch_no":"FB-20260610-001","batch_name":"X11-竹地雞0日齡","species":"竹地雞","day_age":35,"age_label":"5-6週齡","item_name":"新城病油乳劑疫苗","method":"注射","dosage":"依疫苗標示","default_withdrawal_days":0,"note":"出場前免疫追溯","program_name":"有色肉雞標準疫苗流程","done_date":null,"status":"upcoming"},{"id":5,"batch_id":1,"due_date":"2026-08-21","scheduled_status":"planned","health_record_id":null,"batch_no":"FB-20260610-001","batch_name":"X11-竹地雞0日齡","species":"竹地雞","day_age":70,"age_label":"10-12週齡","item_name":"禽流感疫苗（H5+H7）","method":"注射","dosage":"依疫苗標示","default_withdrawal_days":0,"note":"依法令與獸醫指示執行","program_name":"有色肉雞標準疫苗流程","done_date":null,"status":"upcoming"}],"withdrawal_controls":[],"batch_movements":[],"incubation_timeline":[],"alerts":[],"farming_analysis":[{"batch_id":1,"batch_no":"FB-20260610-001","batch_name":"X11-竹地雞0日齡","species":"竹地雞","mortality_rate":0,"feed_cost":0,"health_cost":0,"total_cost":0,"cost_per_bird":0,"feed_per_bird":0,"age_days":7,"cost_per_kg":0}],"mortality_trend":[],"species_comparison":[{"species":"竹地雞","batch_count":1,"initial_qty":"567","current_qty":"567","loss_qty":"0","mortality_rate":"0.00","feed_cost":"0.00","health_cost":"0.00","total_cost":"0.00","cost_per_bird":"0.00"}]}