summaryrefslogtreecommitdiff
path: root/Gestor.Model/Model.Domain.Generic/EmailBase.cs
blob: 96eccc8997eb99eda5c947d1a08aa777a3ed095c (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
using Gestor.Model.Attributes;
using System;

namespace Gestor.Model.Domain.Generic
{
	public class EmailBase : DomainBase
	{
		private string _email;

		[Log(true)]
		public string Email
		{
			get
			{
				string str = this._email;
				if (str == null)
				{
					return null;
				}
				return str.ToLower().Trim();
			}
			set
			{
				this._email = value;
			}
		}

		public EmailBase()
		{
		}
	}
}