diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-10-31 18:16:38 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-10-31 18:16:38 +0100 |
| commit | f0cea15a4f85b47bf13b6db392f4ff97449d53c2 (patch) | |
| tree | 98c0b408394970eb930e53968f153e66043a3044 /code/api/src/Data/Database/BaseWithOwner.cs | |
| parent | 0725e4f7cf4c6f723264b6d461b91c660d144cb7 (diff) | |
| download | greatoffice-f0cea15a4f85b47bf13b6db392f4ff97449d53c2.tar.xz greatoffice-f0cea15a4f85b47bf13b6db392f4ff97449d53c2.zip | |
feat: More models and schema changes
Diffstat (limited to 'code/api/src/Data/Database/BaseWithOwner.cs')
| -rw-r--r-- | code/api/src/Data/Database/BaseWithOwner.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/code/api/src/Data/Database/BaseWithOwner.cs b/code/api/src/Data/Database/BaseWithOwner.cs index 84b5bfe..ad9b33a 100644 --- a/code/api/src/Data/Database/BaseWithOwner.cs +++ b/code/api/src/Data/Database/BaseWithOwner.cs @@ -16,6 +16,8 @@ public class BaseWithOwner : Base public Guid? ModifiedBy { get; private set; } public Guid? CreatedBy { get; private set; } public Guid? DeletedBy { get; private set; } + public User OwningUser { get; set; } + public Tenant OwningTenant { get; set; } public void SetDeleted(Guid userId) { DeletedBy = userId; |
