Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Treatment ¶
type Treatment struct { ID uu.ID `db:"id,pk"` CaseStudyID uu.ID `db:"case_study_id"` External bool `db:"external"` StartedAt time.Time `db:"started_at"` EndedAt time.Time `db:"ended_at"` Title string `db:"title"` Description nullable.NonEmptyString `db:"description"` PrivateDescription nullable.NonEmptyString `db:"private_description"` Score *uint8 `db:"score"` // check(score >= 1 and score <= 5), CreatedBy uu.ID `db:"created_by"` UpdatedBy uu.NullableID `db:"updated_by"` CreatedAt time.Time `db:"created_at"` UpdatedAt time.Time `db:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.