Define Status and TicketType enums with serde snake_case/lowercase
serialization, Ticket struct with all fields, Ticket::new constructor,
validate_priority, and generate_id using RandomState entropy. Add 9
unit tests covering roundtrips, enum serialization, priority validation,
and ID format/uniqueness.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- [] Implement `Ticket::new(id, title)` constructor with all defaults
- [] Implement priority validation (error if > 10)
- [] Implement ID generation: 3 random bytes → 6 hex chars (use `std::collections::hash_map::RandomState` or similar; no external crate needed for MVP)
- [] Unit tests: serialization roundtrip, priority validation, ID format (6 hex chars, unique across N calls)
- [x] Implement `Ticket::new(id, title)` constructor with all defaults
- [x] Implement priority validation (error if > 10)
- [x] Implement ID generation: 3 random bytes → 6 hex chars (use `std::collections::hash_map::RandomState` or similar; no external crate needed for MVP)
- [x] Unit tests: serialization roundtrip, priority validation, ID format (6 hex chars, unique across N calls)