using System; using System.Collections.Generic; namespace Workbench.Entity { public partial class Contact { /// /// Contact primary key /// public long Id { get; set; } /// /// Reference to tenant code that contact belongs /// public string TenantCode { get; set; } = null!; /// /// Reference to customer that contact belongs /// public long CustomerId { get; set; } /// /// Contact type (0-Email, 1-Address, 2-Phone, 3-SMS) /// public int 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 IsPreffered { get; set; } /// /// Record created timestamp /// public DateTime Created { get; set; } /// /// Record modified timestamp /// public DateTime? Modified { get; set; } /// /// Record modifier signature /// public string? Modifier { get; set; } public virtual Customer Customer { get; set; } = null!; } }