gorig-cli 1.0.27 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -194,6 +194,8 @@ Controllers must:
|
|
|
194
194
|
- Return through `apix.HandleData` with the project's established business code shape.
|
|
195
195
|
- Keep transport logic only; call service functions for business behavior.
|
|
196
196
|
|
|
197
|
+
Model note: `dx.On[T].Complex()` embeds `domainx.Options`; do not add generic `CreatedAt`, `UpdatedAt`, or `DeletedAt` fields to `T`. Keep only business-specific timestamps in `T`, and map audit timestamps from `*domainx.Complex[T]` when a response DTO needs them.
|
|
198
|
+
|
|
197
199
|
## MySQL Model Pattern
|
|
198
200
|
|
|
199
201
|
Use MySQL when the user chooses MySQL or the project clearly uses MySQL for similar modules.
|