github.com/angryronald/go-kit@v0.0.0-20240505173814-ff2bd9c79dbf/generic/repository/nosql/repositorytest/test.model.go (about) 1 package repositorytest 2 3 import ( 4 "time" 5 6 "github.com/google/uuid" 7 ) 8 9 // TestModel represents address object 10 type TestModel struct { 11 ID uuid.UUID `json:"id"` 12 Text string `json:"text"` 13 CreatedBy uuid.UUID `json:"createdby"` 14 CreatedAt time.Time `json:"createdat"` 15 UpdatedAt time.Time `json:"updatedat"` 16 UpdatedBy uuid.UUID `json:"updatedby"` 17 DeletedAt time.Time `json:"deletedat"` 18 DeletedBy uuid.UUID `json:"deletedby"` 19 } 20 21 // ImmutableTestModel represents address object 22 type ImmutableTestModel struct { 23 ID uuid.UUID `json:"id"` 24 Text string `json:"text"` 25 CreatedBy uuid.UUID `json:"createdby"` 26 CreatedAt time.Time `json:"createdat"` 27 }