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