()
| 117 | } |
| 118 | |
| 119 | func (aa *AddAdministrator) Id() entity.Id { |
| 120 | // the Id of the operation is the hash of the serialized data. |
| 121 | return dag.IdOperation(aa, &aa.OpBase) |
| 122 | } |
| 123 | |
| 124 | func (aa *AddAdministrator) Validate() error { |
| 125 | // Let's enforce an arbitrary rule |
nothing calls this directly
no test coverage detected