1
dengjunjie
8 天以前 a770206c91e495b802b3e9371e06834586ad7715
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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; }
    }
}