summaryrefslogtreecommitdiff
path: root/slips/src/app/Marina/Presentation/DTO/RegisterCustomerDTO.cs
blob: 339572e68324d96548b0d60967529ee901649a54 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;

namespace Marina.Presentation.DTO {
	[Serializable]
	public class RegisterCustomerDTO {
		public RegisterCustomerDTO( string userName, string password, string firstName, string lastName, string phone,
		                            string city ) {
			_userName = userName;
			_password = password;
			_firstName = firstName;
			_lastName = lastName;
			_phone = phone;
			_city = city;
		}

		public string UserName {
			get { return _userName; }
		}

		public string Password {
			get { return _password; }
		}

		public string FirstName {
			get { return _firstName; }
		}

		public string LastName {
			get { return _lastName; }
		}

		public string Phone {
			get { return _phone; }
		}

		public string City {
			get { return _city; }
		}

		private string _userName;
		private string _password;
		private string _firstName;
		private string _lastName;
		private string _phone;
		private string _city;
	}
}