--- id: task-003 title: Create core database models and structs status: To Do assignee: [] created_date: '2025-08-27 18:31' labels: [] dependencies: [] --- ## Description Define Rust structs and enums that represent the database schema entities. This includes User, Auction, Bid, ProxyBid, AuctionMedia, and UserSettings models with proper SQLx derive macros. ## Acceptance Criteria - [ ] #1 User struct with all fields from users table is defined - [ ] #2 Auction struct with AuctionType enum is defined - [ ] #3 Bid and ProxyBid structs are defined with proper relationships - [ ] #4 AuctionMedia and UserSettings structs are defined - [ ] #5 All models have proper SQLx derive macros (FromRow, Type, etc.) - [ ] #6 Rust Decimal is used for monetary fields - [ ] #7 Chrono DateTime is used for timestamp fields