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.
25 lines
537 B
25 lines
537 B
using System;
|
|
using PetaPoco;
|
|
|
|
namespace Pingchuan.BeijingSafeguard.Model
|
|
{
|
|
[TableName("orgs")]
|
|
[PrimaryKey("id", AutoIncrement = true)]
|
|
public class Org
|
|
{
|
|
[Column("id")]
|
|
public int Id { get; set; }
|
|
|
|
[Column("name")]
|
|
public string Name { get; set; }
|
|
|
|
[Column("enabled")]
|
|
public int Enabled { get; set; }
|
|
|
|
[Column("creater_id")]
|
|
public int CreaterId { get; set; }
|
|
|
|
[Column("create_time")]
|
|
public DateTime? CreateTime { get; set; }
|
|
}
|
|
}
|
|
|