I'm having difficulty finding an example to define a DTO field and map it to MongoDB as DateTime. The example in this repo doesn't have such field.
With a uint64, it's mapped a timestamp which is not quite what I want. I'm getting compiler error if I do the following complaining "DateTime" is not a defined type.
I'm having difficulty finding an example to define a DTO field and map it to MongoDB as DateTime. The example in this repo doesn't have such field.
With a uint64, it's mapped a timestamp which is not quite what I want. I'm getting compiler error if I do the following complaining "DateTime" is not a defined type.