Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

✨ Added created_by created_at to TreatmentBase #69

Merged
merged 1 commit into from
May 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lnbase_biolab/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@ class TreatmentBase(SQLModel): # type: ignore
id: str = Field(default_factory=idg.treatment, primary_key=True)
name: Optional[str] = Field(default=None, index=True)
description: Optional[str] = Field(default=None, index=True)
created_by: str = CreatedBy
created_at: datetime = CreatedAt
updated_at: Optional[datetime] = UpdatedAt