26 lines
818 B
C#
26 lines
818 B
C#
using _0_Framework.Domain;
|
|
|
|
namespace Company.Domain.ContactUsAgg;
|
|
|
|
public class ContactUs:EntityBase
|
|
{
|
|
public ContactUs(string firstName, string lastName, string email, string phoneNumber, string title, string message)
|
|
{
|
|
FirstName = firstName.Trim();
|
|
LastName = lastName.Trim();
|
|
Email = email;
|
|
PhoneNumber = phoneNumber;
|
|
Title = title;
|
|
Message = message;
|
|
FullName = FirstName + " " + LastName;
|
|
}
|
|
|
|
public string FirstName { get; private set; }
|
|
public string LastName { get; private set; }
|
|
public string Email { get; private set; }
|
|
public string PhoneNumber { get; private set; }
|
|
public string Title { get; private set; }
|
|
public string Message { get; private set; }
|
|
public string FullName { get; private set; }
|
|
|
|
} |