Origin returns the value of the "origin" field in the mutation.
()
| 6952 | |
| 6953 | // Origin returns the value of the "origin" field in the mutation. |
| 6954 | func (m *DecisionMutation) Origin() (r string, exists bool) { |
| 6955 | v := m.origin |
| 6956 | if v == nil { |
| 6957 | return |
| 6958 | } |
| 6959 | return *v, true |
| 6960 | } |
| 6961 | |
| 6962 | // OldOrigin returns the old "origin" field's value of the Decision entity. |
| 6963 | // If the Decision object wasn't provided to the builder, the object is fetched from the database. |
no outgoing calls
no test coverage detected