You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.7 KiB
C#

2 months ago
using System;
using System.Runtime.Serialization;
2 months ago
using SqlSugar;
namespace SlnMesnac.Model.domain
2 months ago
{
2 months ago
/// <summary>
/// 异常监控编码对应表
/// </summary>
[SugarTable("BaseCode"), TenantAttribute("mes")]
[DataContract(Name = "BaseCode 基础表")]
2 months ago
public class BaseCode
{
2 months ago
/// <summary>
///
///</summary>
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
///
///</summary>
[SugarColumn(ColumnName = "code")]
public string Code { get; set; }
/// <summary>
///
///</summary>
[SugarColumn(ColumnName = "state")]
public string State { get; set; }
/// <summary>
/// 1 RFid 2 视觉
///</summary>
[SugarColumn(ColumnName = "category")]
public int Category { get; set; }
2 months ago
}
2 months ago
[SugarTable("BaseLog"), TenantAttribute("mes")]
[DataContract(Name = "BaseLog 基础表")]
public class BaseLog
{
public BaseLog()
{
this.CreateTime = DateTime.Now;
}
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
[SugarColumn(ColumnName = "createtime")]
public DateTime CreateTime { get; set; }
[SugarColumn(ColumnName = "log_type")]
public string LogType { get; set; }
2 months ago
[SugarColumn(ColumnName = "log_level")]
public string LogLevel { get; set; }
[SugarColumn(ColumnName = "content")]
public string Content { get; set; }
[SugarColumn(ColumnName = "err_msg")]
public string ErrMsg { get; set; }
}
2 months ago
}