using System.ComponentModel.DataAnnotations.Schema; namespace Distribution.Models { public class Store : Template { public String? OwnerName { get; set; } public String? ContactNumber { get; set; } public String StoreName { get; set; } public String StoreAddress { get; set; } public decimal Latitude { get; set; } = 0; public decimal Longitude { get; set; } = 0; public decimal OneTimeAmount { get; set; } = 0; public decimal CreditAmount { get; set; } = 0; public decimal CreditLimit { get; set; } = 0; public decimal OutstandingBalance { get; set; } = 0; public String? Segment { get; set; } //Gold ,silver,key Account,high risk public Guid FK_RouteId { get; set; } [ForeignKey("FK_RouteId")] public Route Route { get; set; } } }