| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using Quadarax.Application.QLiberace.Common.Entities.Base;
- 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 int 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 IsPreffered { get; set; }
- public virtual Customer Customer { get; set; } = null!;
- }
- }
|