27 lines
1.3 KiB
C#
27 lines
1.3 KiB
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using AyCode.Interfaces.Entities;
|
|
using AyCode.Entities.Locations;
|
|
using AyCode.Interfaces.TimeStampInfo;
|
|
|
|
namespace TIAM.Entities.TransferDestinations
|
|
{
|
|
[Table("TransferDestination")]
|
|
public class TransferDestination : LocationBase, ITimeStampInfo
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string? Name { get; set; }
|
|
public string? Description { get; set; }
|
|
public double Latitude { get; set; }
|
|
public double Longitude { get; set; }
|
|
public string? Address { get; set; }
|
|
public DateTime Created { get; set; }
|
|
public DateTime Modified { get; set; }
|
|
public TransferDestination() { }
|
|
public TransferDestination(double latitude, double longitude, string address) : this(Guid.NewGuid(), latitude, longitude, address) { }
|
|
public TransferDestination(Guid id, double latitude, double longitude, string address) : base(Guid.NewGuid(), latitude, longitude, address) { }
|
|
public TransferDestination(Guid id, string name, double latitude, double longitude, string address) : base(id, latitude,longitude, address) { }
|
|
public TransferDestination(Guid id, string name, string description, double latitude, double longitude, string address) : base(id, latitude,longitude, address) { }
|
|
}
|
|
}
|
|
|