yavsc/src/Yavsc.Abstract/Relationship/Location.cs

15 lines
421 B
C#
Raw Normal View History

2016-05-17 18:22:18 +02:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
2017-01-19 12:59:49 +01:00
namespace Yavsc.Models.Relationship
2016-05-17 18:22:18 +02:00
{
2018-01-15 14:09:19 +01:00
public class Location : Position, ILocation {
2016-05-17 18:22:18 +02:00
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
2026-03-09 02:07:09 +00:00
[Required(),
2016-10-23 01:31:09 +02:00
Display(Name="Address"),
MaxLength(512)]
2016-05-17 18:22:18 +02:00
public string Address { get; set; }
}
2026-03-09 02:07:09 +00:00
}