using Magicodes.ExporterAndImporter.Core;
|
using Microsoft.AspNetCore.Cors;
|
using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.DB.Models;
|
|
namespace WIDESEA_Model.Models
|
{
|
[SugarTable(nameof(Dt_Container), "冷库管理")]
|
public class Dt_Container:BaseEntity
|
{
|
[ImporterHeader(Name = "主键")]
|
[ExporterHeader(DisplayName = "主键")]
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 设备名称
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length =50,ColumnDescription = "设备名称")]
|
public string deviceName { get; set; }
|
|
|
/// <summary>
|
/// 温度
|
/// </summary>
|
[SugarColumn(IsNullable = true,Length =50, ColumnDescription = "温度")]
|
public string CurrentTemperature { get; set; }
|
|
|
/// <summary>
|
/// 湿度
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "湿度")]
|
public string Humidity { get; set; }
|
|
|
/// <summary>
|
/// 是否报警 0无报警 1报警
|
/// </summary>
|
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "是否报警 0无报警 1报警")]
|
public string Alarm { get;set; }
|
|
/// <summary>
|
/// 报警信息
|
/// </summary>
|
[SugarColumn(IsNullable = true,Length =255, ColumnDescription = "报警信息")]
|
public string AlarmInformation { get; set; }
|
}
|
}
|