CreatedAt returns the value of the "created_at" field in the mutation.
()
| 8880 | |
| 8881 | // CreatedAt returns the value of the "created_at" field in the mutation. |
| 8882 | func (m *MachineMutation) CreatedAt() (r time.Time, exists bool) { |
| 8883 | v := m.created_at |
| 8884 | if v == nil { |
| 8885 | return |
| 8886 | } |
| 8887 | return *v, true |
| 8888 | } |
| 8889 | |
| 8890 | // OldCreatedAt returns the old "created_at" field's value of the Machine entity. |
| 8891 | // If the Machine object wasn't provided to the builder, the object is fetched from the database. |