You are a helpful assistant designed to output JSON. Create a professional gold mining production and cost management system (Gold Mining Management System).
Target users:
Mine owners, on-site managers, financial personnel.
System style:
Modern, professional, industrial design.
Dark theme.
Accessible on mobile and PC.
Simple interface with strong data visualization.
Main features:
1. Dashboard
- Today's excavation volume (cubic meters)
- Today's gold production (grams)
- Today's revenue
- Today's cost
- Today's profit
- Monthly cumulative production
- Monthly cumulative profit
- Gold price display
- Data trend chart
2. Production Management
Enter daily production data:
Fields:
- Date
- Mine name
- Excavation volume (m³)
- Placer gold grade (g/m³)
- Gold production (g)
- Equipment name
- Operator
- Remarks
Auto-calculate:
Gold production = Excavation volume × Grade
3. Cost Management
Categories:
- Diesel cost
- Labor wages
- Equipment maintenance
- Parts procurement
- Transportation cost
- Site cost
- Other costs
Fields:
- Date
- Cost type
- Amount
- Remarks
Auto-statistics:
- Daily cost
- Weekly cost
- Monthly cost
4. Profit Analysis
Auto-calculate:
Revenue = Gold production × Gold unit price
Profit = Revenue - Cost
Display:
- Daily profit
- Weekly profit
- Monthly profit
- Yearly profit
Generate visualization charts.
5. Equipment Management
Records:
- Excavator
- Sluice machine
- Generator
- Water pump
- Truck
Fields:
- Equipment name
- Model
- Purchase date
- Maintenance records
- Status
Status:
- Normal
- Under maintenance
- Decommissioned
6. Employee Management
Fields:
- Name
- Position
- Phone
- Daily wage
- Attendance records
Auto-calculate wages.
7. Data Statistics Center
Charts:
- Daily production trend
- Monthly production trend
- Cost structure pie chart
- Profit trend chart
- Equipment utilization chart
8. Permission System
Roles:
- Super admin
- Finance
- Site supervisor
- Regular employee
Different roles see different features.
Technical requirements:
- React
- TypeScript
- Supabase database
- User login authentication
- Auto backup
- Responsive design
- Chinese UI
- Support export to Excel
- Support export to PDF reports
Additional features:
Add a "Break-even analysis system".
Input:
- Total investment amount
Auto-calculate:
- Amount recovered
- Amount not yet recovered
- Break-even progress percentage
- Estimated break-even date
Generate a professional commercial-grade backend management system.