© 2026 Hedgehog Software, LLC
Foregin Key Constraint failed
using System.ComponentModel.DataAnnotations; namespace Shared.Models; public static class TipeCustomer { public const string Personal = "Personal"; public const string Perusahaan = "Perusahaan"; } public class Customer { public int Id { get; set; } [Display(Name = "Tipe")] public string TipeCustomer { get; set; } = Models.TipeCustomer.Perusahaan; [Display(Name = "Nama")] public string Nama { get; set; } = null!; [Display(Name = "Email")] public string? Email { get; set; } [Display(Name = "Nomor Telepon")] public string? NomorTelepon { get; set; } [Display(Name = "Kota")] public string? Kota { get; set; } [Display(Name = "Keterangan")] public string? Keterangan { get; set; } }