20 lines
613 B
C#
20 lines
613 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Distribution.Models
|
|
{
|
|
public class Store : Template
|
|
{
|
|
public String OwnerName { 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 Guid FK_RouteId { get; set; }
|
|
[ForeignKey("FK_RouteId")]
|
|
public Route Route { get; set; }
|
|
}
|
|
}
|