-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathContact.cs
More file actions
36 lines (26 loc) · 857 Bytes
/
Contact.cs
File metadata and controls
36 lines (26 loc) · 857 Bytes
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
using System;
using System.ComponentModel.DataAnnotations;
using SimplCommerce.Infrastructure.Models;
namespace SimplCommerce.Module.Contacts.Models
{
public class Contact : EntityBase
{
public Contact()
{
CreatedOn = DateTimeOffset.UtcNow;
}
[StringLength(450)]
public string FullName { get; set; }
[StringLength(450)]
public string PhoneNumber { get; set; }
[StringLength(450)]
public string EmailAddress { get; set; }
[StringLength(450)]
public string Address { get; set; }
public string Content { get; set; }
public long ContactAreaId { get; set; }
public virtual ContactArea ContactArea { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset CreatedOn { get; set; }
}
}