From f39d48d85ae3d079c7a2b0e95e2001f27af522ee Mon Sep 17 00:00:00 2001 From: phoenix Date: Thu, 28 May 2026 20:04:12 -0400 Subject: [PATCH] Organization (#3) Reviewed-on: http://git.kundeng.us/phoenix/textsender-models/pulls/3 --- .gitea/workflows/tag_release.yaml | 2 +- tx0/user/organization.go | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 tx0/user/organization.go diff --git a/.gitea/workflows/tag_release.yaml b/.gitea/workflows/tag_release.yaml index 4bd12f1..802b773 100644 --- a/.gitea/workflows/tag_release.yaml +++ b/.gitea/workflows/tag_release.yaml @@ -25,7 +25,7 @@ jobs: run: | echo "Creating version" - VERSION="0.2.3" + VERSION="0.2.4" PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10) BRANCH_REF="${{ gitea.ref }}" BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3) diff --git a/tx0/user/organization.go b/tx0/user/organization.go new file mode 100644 index 0000000..2314d51 --- /dev/null +++ b/tx0/user/organization.go @@ -0,0 +1,13 @@ +package user + +import ( + "time" + + "github.com/google/uuid" +) + +type Organization struct { + Id uuid.UUID `json:"id"` + Name string `json:"name"` + Created *time.Time `json:"created,omitempty"` +}