summaryrefslogtreecommitdiff
path: root/slips/src/app/Marina/Presentation/DTO/LoginCredentialsDTO.cs
blob: 33365c12e36bd44f343462baceef49a12771b4f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;

namespace Marina.Presentation.DTO {
	[Serializable]
	public class LoginCredentialsDTO {
		private readonly string username;
		private readonly string password;

		private LoginCredentialsDTO() {}

		public LoginCredentialsDTO( string username, string password ) {
			this.username = username;
			this.password = password;
		}

		public string Username {
			get { return username; }
		}

		public string Password {
			get { return password; }
		}
	}
}