set method
Convert model property value to database value
Implementation
@override
dynamic set(DateTime? value) {
if (value == null) return null;
// Convert to MySQL format: YYYY-MM-DD HH:MM:SS
return value
.toUtc()
.toIso8601String()
.replaceAll('T', ' ')
.substring(0, 19);
}