From b7e39b59fd0fc7b5610ebff29035bf622079e0d8 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 5 Oct 2022 20:45:21 +0800 Subject: refactor: Change file structure --- .../Endpoints/Internal/Account/UpdateAccountPayload.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 code/api/src/Endpoints/Internal/Account/UpdateAccountPayload.cs (limited to 'code/api/src/Endpoints/Internal/Account/UpdateAccountPayload.cs') diff --git a/code/api/src/Endpoints/Internal/Account/UpdateAccountPayload.cs b/code/api/src/Endpoints/Internal/Account/UpdateAccountPayload.cs new file mode 100644 index 0000000..88a3237 --- /dev/null +++ b/code/api/src/Endpoints/Internal/Account/UpdateAccountPayload.cs @@ -0,0 +1,17 @@ +namespace IOL.GreatOffice.Api.Endpoints.Internal.Account; + +/// +/// Payload for updating an account. +/// +public class UpdatePayload +{ + /// + /// Username to set on the logged on user's account. + /// + public string Username { get; set; } + + /// + /// Password to set on the logged on user's account. + /// + public string Password { get; set; } +} -- cgit v1.3