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.
39 lines
1.0 KiB
C#
39 lines
1.0 KiB
C#
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MaterialTraceability.Entity.UpLoad
|
|
{
|
|
/// <summary>
|
|
/// 设备信息
|
|
/// </summary>
|
|
[SugarTable("base_deviceinfo")]
|
|
public class DeviceInfo
|
|
{
|
|
/// <summary>
|
|
/// 主键标识
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "device_id", IsPrimaryKey = true, IsIdentity = true)]
|
|
public int deviceId { get; set; }
|
|
|
|
[SugarColumn(ColumnName = "device_name")]
|
|
public string deviceName { get; set; }
|
|
|
|
[SugarColumn(ColumnName = "resource")]
|
|
public string resource { get; set; }
|
|
|
|
[SugarColumn(ColumnName = "material_type")]
|
|
public int materialType { get; set; }
|
|
|
|
[SugarColumn(ColumnName = "parent_id")]
|
|
public int parentId { get; set; }
|
|
|
|
//状态更新时间
|
|
[SugarColumn(ColumnName = "status_time")]
|
|
public String statusTime { get; set; }
|
|
}
|
|
}
|