41 lines
1.2 KiB
C#
41 lines
1.2 KiB
C#
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Waste.Domain
|
|
{
|
|
/// <summary>
|
|
/// 设备第三方配置信息
|
|
/// </summary>
|
|
[SugarTable("W_DeviceConfig", TableDescription = "设备第三方配置信息", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
|
|
|
|
public class W_DeviceConfig
|
|
{
|
|
/// <summary>
|
|
/// 设备ID
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
public Guid DeviceId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 推送地址,支持http/https
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(200)", ColumnDescription = "推送地址,支持http/https")]
|
|
public string Url { get; set; }
|
|
|
|
/// <summary>
|
|
/// 额外推送信息,推送时固定以body参数传递
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(100)", ColumnDescription = "额外推送信息,推送时固定以body参数传递")]
|
|
public string Body { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "创建时间")]
|
|
public DateTime CreateTime { get; set; }
|
|
}
|
|
}
|