using Quadarax.Application.QLiberace.Common.Entities.Base; using Quadarax.Application.QLiberace.Customer.Enums; namespace Quadarax.Application.QLiberace.Customer.Entities { public class Contact : QlbrcEntityTenantCode { /// /// Reference to customer that contact belongs /// public long CustomerId { get; set; } /// /// Contact type (0-Email, 1-Address, 2-Phone, 3-SMS) /// public ContactTypeEnum Type { get; set; } /// /// Contact heading caption. /// public string Caption { get; set; } = null!; /// /// Main address value. If phone, email, sms stores email address or telephone number. /// public string Address { get; set; } = null!; /// /// Secondary address value. /// public string? Address1 { get; set; } /// /// Contact city. /// public string? City { get; set; } /// /// Contact ZIP code. /// public string? Zip { get; set; } /// /// Contact country code. /// public string? CountryCode { get; set; } /// /// Flag if Contact is preffered. /// public bool IsPreferred { get; set; } public virtual Customer Customer { get; set; } = null!; } }