ZhiYeJianKang_PeiXun/Song.Entities/LogForStudentOnline.cs
2025-02-20 15:41:53 +08:00

453 lines
13 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace Song.Entities {
using System;
/// <summary>
/// 表名LogForStudentOnline 主键列Lso_ID
/// </summary>
[SerializableAttribute()]
public partial class LogForStudentOnline : WeiSha.Data.Entity {
protected Int32 _Lso_ID;
protected Int32 _Org_ID;
protected Int32 _Ac_ID;
protected String _Ac_AccName;
protected String _Ac_Name;
protected String _Lso_UID;
protected DateTime _Lso_LoginDate;
protected DateTime _Lso_LoginTime;
protected DateTime _Lso_LastTime;
protected DateTime _Lso_LogoutTime;
protected DateTime _Lso_CrtTime;
protected Int32 _Lso_OnlineTime;
protected Int32 _Lso_BrowseTime;
protected String _Lso_IP;
protected String _Lso_Browser;
protected String _Lso_Platform;
protected String _Lso_OS;
public Int32 Lso_ID {
get {
return this._Lso_ID;
}
set {
this.OnPropertyValueChange(_.Lso_ID, _Lso_ID, value);
this._Lso_ID = value;
}
}
public Int32 Org_ID {
get {
return this._Org_ID;
}
set {
this.OnPropertyValueChange(_.Org_ID, _Org_ID, value);
this._Org_ID = value;
}
}
public Int32 Ac_ID {
get {
return this._Ac_ID;
}
set {
this.OnPropertyValueChange(_.Ac_ID, _Ac_ID, value);
this._Ac_ID = value;
}
}
public String Ac_AccName {
get {
return this._Ac_AccName;
}
set {
this.OnPropertyValueChange(_.Ac_AccName, _Ac_AccName, value);
this._Ac_AccName = value;
}
}
public String Ac_Name {
get {
return this._Ac_Name;
}
set {
this.OnPropertyValueChange(_.Ac_Name, _Ac_Name, value);
this._Ac_Name = value;
}
}
public String Lso_UID {
get {
return this._Lso_UID;
}
set {
this.OnPropertyValueChange(_.Lso_UID, _Lso_UID, value);
this._Lso_UID = value;
}
}
public DateTime Lso_LoginDate {
get {
return this._Lso_LoginDate;
}
set {
this.OnPropertyValueChange(_.Lso_LoginDate, _Lso_LoginDate, value);
this._Lso_LoginDate = value;
}
}
public DateTime Lso_LoginTime {
get {
return this._Lso_LoginTime;
}
set {
this.OnPropertyValueChange(_.Lso_LoginTime, _Lso_LoginTime, value);
this._Lso_LoginTime = value;
}
}
public DateTime Lso_LastTime {
get {
return this._Lso_LastTime;
}
set {
this.OnPropertyValueChange(_.Lso_LastTime, _Lso_LastTime, value);
this._Lso_LastTime = value;
}
}
public DateTime Lso_LogoutTime {
get {
return this._Lso_LogoutTime;
}
set {
this.OnPropertyValueChange(_.Lso_LogoutTime, _Lso_LogoutTime, value);
this._Lso_LogoutTime = value;
}
}
public DateTime Lso_CrtTime {
get {
return this._Lso_CrtTime;
}
set {
this.OnPropertyValueChange(_.Lso_CrtTime, _Lso_CrtTime, value);
this._Lso_CrtTime = value;
}
}
public Int32 Lso_OnlineTime {
get {
return this._Lso_OnlineTime;
}
set {
this.OnPropertyValueChange(_.Lso_OnlineTime, _Lso_OnlineTime, value);
this._Lso_OnlineTime = value;
}
}
public Int32 Lso_BrowseTime {
get {
return this._Lso_BrowseTime;
}
set {
this.OnPropertyValueChange(_.Lso_BrowseTime, _Lso_BrowseTime, value);
this._Lso_BrowseTime = value;
}
}
public String Lso_IP {
get {
return this._Lso_IP;
}
set {
this.OnPropertyValueChange(_.Lso_IP, _Lso_IP, value);
this._Lso_IP = value;
}
}
public String Lso_Browser {
get {
return this._Lso_Browser;
}
set {
this.OnPropertyValueChange(_.Lso_Browser, _Lso_Browser, value);
this._Lso_Browser = value;
}
}
public String Lso_Platform {
get {
return this._Lso_Platform;
}
set {
this.OnPropertyValueChange(_.Lso_Platform, _Lso_Platform, value);
this._Lso_Platform = value;
}
}
public String Lso_OS {
get {
return this._Lso_OS;
}
set {
this.OnPropertyValueChange(_.Lso_OS, _Lso_OS, value);
this._Lso_OS = value;
}
}
/// <summary>
/// 获取实体对应的表名
/// </summary>
protected override WeiSha.Data.Table GetTable() {
return new WeiSha.Data.Table<LogForStudentOnline>("LogForStudentOnline");
}
/// <summary>
/// 获取实体中的标识列
/// </summary>
protected override WeiSha.Data.Field GetIdentityField() {
return _.Lso_ID;
}
/// <summary>
/// 获取实体中的主键列
/// </summary>
protected override WeiSha.Data.Field[] GetPrimaryKeyFields() {
return new WeiSha.Data.Field[] {
_.Lso_ID};
}
/// <summary>
/// 获取列信息
/// </summary>
protected override WeiSha.Data.Field[] GetFields() {
return new WeiSha.Data.Field[] {
_.Lso_ID,
_.Org_ID,
_.Ac_ID,
_.Ac_AccName,
_.Ac_Name,
_.Lso_UID,
_.Lso_LoginDate,
_.Lso_LoginTime,
_.Lso_LastTime,
_.Lso_LogoutTime,
_.Lso_CrtTime,
_.Lso_OnlineTime,
_.Lso_BrowseTime,
_.Lso_IP,
_.Lso_Browser,
_.Lso_Platform,
_.Lso_OS};
}
/// <summary>
/// 获取列数据
/// </summary>
protected override object[] GetValues() {
return new object[] {
this._Lso_ID,
this._Org_ID,
this._Ac_ID,
this._Ac_AccName,
this._Ac_Name,
this._Lso_UID,
this._Lso_LoginDate,
this._Lso_LoginTime,
this._Lso_LastTime,
this._Lso_LogoutTime,
this._Lso_CrtTime,
this._Lso_OnlineTime,
this._Lso_BrowseTime,
this._Lso_IP,
this._Lso_Browser,
this._Lso_Platform,
this._Lso_OS};
}
/// <summary>
/// 给当前实体赋值
/// </summary>
protected override void SetValues(WeiSha.Data.IRowReader reader) {
if ((false == reader.IsDBNull(_.Lso_ID))) {
this._Lso_ID = reader.GetInt32(_.Lso_ID);
}
if ((false == reader.IsDBNull(_.Org_ID))) {
this._Org_ID = reader.GetInt32(_.Org_ID);
}
if ((false == reader.IsDBNull(_.Ac_ID))) {
this._Ac_ID = reader.GetInt32(_.Ac_ID);
}
if ((false == reader.IsDBNull(_.Ac_AccName))) {
this._Ac_AccName = reader.GetString(_.Ac_AccName);
}
if ((false == reader.IsDBNull(_.Ac_Name))) {
this._Ac_Name = reader.GetString(_.Ac_Name);
}
if ((false == reader.IsDBNull(_.Lso_UID))) {
this._Lso_UID = reader.GetString(_.Lso_UID);
}
if ((false == reader.IsDBNull(_.Lso_LoginDate))) {
this._Lso_LoginDate = reader.GetDateTime(_.Lso_LoginDate);
}
if ((false == reader.IsDBNull(_.Lso_LoginTime))) {
this._Lso_LoginTime = reader.GetDateTime(_.Lso_LoginTime);
}
if ((false == reader.IsDBNull(_.Lso_LastTime))) {
this._Lso_LastTime = reader.GetDateTime(_.Lso_LastTime);
}
if ((false == reader.IsDBNull(_.Lso_LogoutTime))) {
this._Lso_LogoutTime = reader.GetDateTime(_.Lso_LogoutTime);
}
if ((false == reader.IsDBNull(_.Lso_CrtTime))) {
this._Lso_CrtTime = reader.GetDateTime(_.Lso_CrtTime);
}
if ((false == reader.IsDBNull(_.Lso_OnlineTime))) {
this._Lso_OnlineTime = reader.GetInt32(_.Lso_OnlineTime);
}
if ((false == reader.IsDBNull(_.Lso_BrowseTime))) {
this._Lso_BrowseTime = reader.GetInt32(_.Lso_BrowseTime);
}
if ((false == reader.IsDBNull(_.Lso_IP))) {
this._Lso_IP = reader.GetString(_.Lso_IP);
}
if ((false == reader.IsDBNull(_.Lso_Browser))) {
this._Lso_Browser = reader.GetString(_.Lso_Browser);
}
if ((false == reader.IsDBNull(_.Lso_Platform))) {
this._Lso_Platform = reader.GetString(_.Lso_Platform);
}
if ((false == reader.IsDBNull(_.Lso_OS))) {
this._Lso_OS = reader.GetString(_.Lso_OS);
}
}
public override int GetHashCode() {
return base.GetHashCode();
}
public override bool Equals(object obj) {
if ((obj == null)) {
return false;
}
if ((false == typeof(LogForStudentOnline).IsAssignableFrom(obj.GetType()))) {
return false;
}
if ((((object)(this)) == ((object)(obj)))) {
return true;
}
return false;
}
public class _ {
/// <summary>
/// 表示选择所有列,与*等同
/// </summary>
public static WeiSha.Data.AllField All = new WeiSha.Data.AllField<LogForStudentOnline>();
/// <summary>
/// 字段名Lso_ID - 数据类型Int32
/// </summary>
public static WeiSha.Data.Field Lso_ID = new WeiSha.Data.Field<LogForStudentOnline>("Lso_ID");
/// <summary>
/// 字段名Org_ID - 数据类型Int32
/// </summary>
public static WeiSha.Data.Field Org_ID = new WeiSha.Data.Field<LogForStudentOnline>("Org_ID");
/// <summary>
/// 字段名Ac_ID - 数据类型Int32
/// </summary>
public static WeiSha.Data.Field Ac_ID = new WeiSha.Data.Field<LogForStudentOnline>("Ac_ID");
/// <summary>
/// 字段名Ac_AccName - 数据类型String
/// </summary>
public static WeiSha.Data.Field Ac_AccName = new WeiSha.Data.Field<LogForStudentOnline>("Ac_AccName");
/// <summary>
/// 字段名Ac_Name - 数据类型String
/// </summary>
public static WeiSha.Data.Field Ac_Name = new WeiSha.Data.Field<LogForStudentOnline>("Ac_Name");
/// <summary>
/// 字段名Lso_UID - 数据类型String
/// </summary>
public static WeiSha.Data.Field Lso_UID = new WeiSha.Data.Field<LogForStudentOnline>("Lso_UID");
/// <summary>
/// 字段名Lso_LoginDate - 数据类型DateTime
/// </summary>
public static WeiSha.Data.Field Lso_LoginDate = new WeiSha.Data.Field<LogForStudentOnline>("Lso_LoginDate");
/// <summary>
/// 字段名Lso_LoginTime - 数据类型DateTime
/// </summary>
public static WeiSha.Data.Field Lso_LoginTime = new WeiSha.Data.Field<LogForStudentOnline>("Lso_LoginTime");
/// <summary>
/// 字段名Lso_LastTime - 数据类型DateTime
/// </summary>
public static WeiSha.Data.Field Lso_LastTime = new WeiSha.Data.Field<LogForStudentOnline>("Lso_LastTime");
/// <summary>
/// 字段名Lso_LogoutTime - 数据类型DateTime
/// </summary>
public static WeiSha.Data.Field Lso_LogoutTime = new WeiSha.Data.Field<LogForStudentOnline>("Lso_LogoutTime");
/// <summary>
/// 字段名Lso_CrtTime - 数据类型DateTime
/// </summary>
public static WeiSha.Data.Field Lso_CrtTime = new WeiSha.Data.Field<LogForStudentOnline>("Lso_CrtTime");
/// <summary>
/// 字段名Lso_OnlineTime - 数据类型Int32
/// </summary>
public static WeiSha.Data.Field Lso_OnlineTime = new WeiSha.Data.Field<LogForStudentOnline>("Lso_OnlineTime");
/// <summary>
/// 字段名Lso_BrowseTime - 数据类型Int32
/// </summary>
public static WeiSha.Data.Field Lso_BrowseTime = new WeiSha.Data.Field<LogForStudentOnline>("Lso_BrowseTime");
/// <summary>
/// 字段名Lso_IP - 数据类型String
/// </summary>
public static WeiSha.Data.Field Lso_IP = new WeiSha.Data.Field<LogForStudentOnline>("Lso_IP");
/// <summary>
/// 字段名Lso_Browser - 数据类型String
/// </summary>
public static WeiSha.Data.Field Lso_Browser = new WeiSha.Data.Field<LogForStudentOnline>("Lso_Browser");
/// <summary>
/// 字段名Lso_Platform - 数据类型String
/// </summary>
public static WeiSha.Data.Field Lso_Platform = new WeiSha.Data.Field<LogForStudentOnline>("Lso_Platform");
/// <summary>
/// 字段名Lso_OS - 数据类型String
/// </summary>
public static WeiSha.Data.Field Lso_OS = new WeiSha.Data.Field<LogForStudentOnline>("Lso_OS");
}
}
}