We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 139aa26 commit 186421fCopy full SHA for 186421f
phpzlc/db/entity.markdown
@@ -145,13 +145,13 @@ private bool $disable = false;
145
private int $isDel = 0;
146
147
#[ORM\Column(name: "date", type: "date", options:["comment" => "日期"])]
148
-private ?\DateTime $date = null;
+private ?\DateTimeInterface $date = null;
149
150
#[ORM\Column(name: "time", type: "time", options:["comment" => "时间"])]
151
-private ?\DateTime $time = null;
+private ?\DateTimeInterface $time = null;
152
153
#[ORM\Column(name: "create_at", type: "datetime", options:["comment" => "创建时间"])]
154
-private ?\DateTime $createAt = null;
+private ?\DateTimeInterface $createAt = null;
155
```
156
157
## 新特性-表外字段
0 commit comments