31 lines
676 B
31 lines
676 B
using System;
|
|
using PetaPoco;
|
|
|
|
namespace Pingchuan.BeijingSafeguard.Model
|
|
{
|
|
[TableName("points")]
|
|
[PrimaryKey("id", AutoIncrement = true)]
|
|
public class Point
|
|
{
|
|
[Column("id")]
|
|
public int Id { get; set; }
|
|
|
|
[Column("user_id")]
|
|
public int UserId { get; set; }
|
|
|
|
[Column("region")]
|
|
public string Region { get; set; }
|
|
|
|
[Column("title")]
|
|
public string Title { get; set; }
|
|
|
|
[Column("icon")]
|
|
public string Icon { get; set; }
|
|
|
|
[Column("longitude")]
|
|
public decimal Longitude { get; set; }
|
|
|
|
[Column("latitude")]
|
|
public decimal Latitude { get; set; }
|
|
}
|
|
}
|
|
|