SetCreatedAt sets the "created_at" field.
(t time.Time)
| 200 | |
| 201 | // SetCreatedAt sets the "created_at" field. |
| 202 | func (m *AlertMutation) SetCreatedAt(t time.Time) { |
| 203 | m.created_at = &t |
| 204 | } |
| 205 | |
| 206 | // CreatedAt returns the value of the "created_at" field in the mutation. |
| 207 | func (m *AlertMutation) CreatedAt() (r time.Time, exists bool) { |