23 lines
451 B
23 lines
451 B
3 years ago
|
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("title")]
|
||
|
public string Title { get; set; }
|
||
|
|
||
|
[Column("icon")]
|
||
|
public string Icon { get; set; }
|
||
|
}
|
||
|
}
|