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.

49 lines
1.1 KiB

3 years ago
using System;
using PetaPoco;
namespace Pingchuan.BeijingSafeguard.Model
{
[TableName("users")]
3 years ago
[PrimaryKey("id", AutoIncrement = true)]
3 years ago
public class User
{
[Column("id")]
public int Id { set; get; }
3 years ago
[Column("org_id")]
public int OrgId { set; get; }
3 years ago
[Column("gender")]
public int Gender { set; get; }
3 years ago
[Column("enabled")]
public int Enabled { set; get; }
3 years ago
[Column("real_name")]
public string RealName { set; get; }
3 years ago
[Column("is_sa")]
public int IsSa { set; get; }
3 years ago
[Column("login_name")]
public string LoginName { set; get; }
[Column("login_password")]
3 years ago
public string LoginPassword { set; get; }
3 years ago
3 years ago
[Column("compute_count")]
public int ComputeCount { get; set; }
[Column("last_compute_time")]
3 years ago
public DateTime? LastComputeTime { get; set; }
3 years ago
3 years ago
[Column("login_count")]
public int LoginCount { get; set; }
3 years ago
[Column("last_login_time")]
public DateTime? LastLoginTime { get; set; }
3 years ago
[Column("create_time")]
public DateTime CreateTime { set; get; }
}
}