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; } } }