diff options
author | Matthew Lemon <y@yulqen.org> | 2024-02-11 16:49:07 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-02-11 16:49:07 +0000 |
commit | 9d18b9e9d9ab7561deadc867654f7cc4db15d2e1 (patch) | |
tree | f3460b802b4c9ac3e9c6e89424e356a565b9bd06 /internal/models/operation.go | |
parent | 9ac5d6b7ee1eeeed873d5341336c6c8df3cd56b1 (diff) |
Started the Operation model
Diffstat (limited to '')
-rw-r--r-- | internal/models/operation.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/internal/models/operation.go b/internal/models/operation.go new file mode 100644 index 0000000..8547030 --- /dev/null +++ b/internal/models/operation.go @@ -0,0 +1,16 @@ +package models + +import ( + "database/sql" +) + +type Operation struct { + ID int + Name string + Description string + Organisation Organisation +} + +type OperationMOdel struct { + DB *sql.DB +} |