Created
November 1, 2018 17:28
-
-
Save Macadoshis/fad9c54607ce005cf246bdffca2a7bc7 to your computer and use it in GitHub Desktop.
last-user (patch)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: CMSS.RestInterface/Models/Core/IRestEntity.cs | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- CMSS.RestInterface/Models/Core/IRestEntity.cs (date 1541062513000) | |
+++ CMSS.RestInterface/Models/Core/IRestEntity.cs (date 1541093268418) | |
@@ -11,5 +11,7 @@ | |
DateTime? UpdatedDate { get; set; } | |
int? UpdatedUser { get; set; } | |
+ | |
+ int? LastUser { get; } | |
} | |
} | |
\ No newline at end of file | |
Index: CMSS.RestInterface/Models/Core/RestEntity.cs | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- CMSS.RestInterface/Models/Core/RestEntity.cs (date 1541062513000) | |
+++ CMSS.RestInterface/Models/Core/RestEntity.cs (date 1541093268404) | |
@@ -11,5 +11,10 @@ | |
public DateTime? UpdatedDate { get; set; } | |
public int? UpdatedUser { get; set; } | |
+ | |
+ public int? LastUser | |
+ { | |
+ get { return this.UpdatedUser ?? this.CreatedUser; } | |
+ } | |
} | |
} | |
\ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment