You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

43 lines
1.0 KiB

using System;
using PetaPoco;
namespace Pingchuan.BeijingSafeguard.Model
{
[TableName("tasks")]
[PrimaryKey("id", AutoIncrement=false)]
public class Task
{
[Column("id")]
public string Id { get; set; }
[Column("org_id")]
public int OrgId { get; set; }
[Column("user_id")]
public int UserId { get; set; }
[Column("region")]
public string Region { get; set; }
[Column("longitude")]
public decimal Longitude { get; set; }
[Column("latitude")]
public decimal Latitude { get; set; }
[Column("height")]
public decimal Height { get; set; }
[Column("simulated_duration")]
public decimal SimulatedDuration { get; set; }
[Column("simulated_interval")]
public decimal SimulatedInterval { get; set; }
[Column("release_time")]
public DateTime ReleaseTime { get; set; }
[Column("create_time")]
public DateTime CreateTime { get; set; }
}
}