58 lines
1.5 KiB
C#
58 lines
1.5 KiB
C#
using System;
|
|
|
|
namespace XiaoZhiSharp.Models
|
|
{
|
|
public class DeviceEntity
|
|
{
|
|
//@Schema(description = "唤醒词")
|
|
private string WakeupWord = "XiaoZhi";
|
|
|
|
//@TableId(type = IdType.ASSIGN_UUID)
|
|
//(description = "ID")
|
|
private string id;
|
|
|
|
//@Schema(description = "关联用户ID")
|
|
private long userId;
|
|
|
|
//@Schema(description = "MAC地址")
|
|
private string macAddress;
|
|
|
|
//@Schema(description = "最后连接时间")
|
|
private DateTime lastConnectedAt;
|
|
|
|
//@Schema(description = "自动更新开关(0关闭/1开启)")
|
|
private int autoUpdate;
|
|
|
|
//@Schema(description = "设备硬件型号")
|
|
private string board;
|
|
|
|
//@Schema(description = "设备别名")
|
|
private string alias;
|
|
|
|
//@Schema(description = "智能体ID")
|
|
private string agentId;
|
|
|
|
//@Schema(description = "固件版本号")
|
|
private string appVersion;
|
|
|
|
//@Schema(description = "排序")
|
|
private int sort;
|
|
|
|
// @Schema(description = "更新者")
|
|
//@TableField(fill = FieldFill.UPDATE)
|
|
private long updater;
|
|
|
|
//@Schema(description = "更新时间")
|
|
//@TableField(fill = FieldFill.UPDATE)
|
|
private DateTime updateDate;
|
|
|
|
//@Schema(description = "创建者")
|
|
//@TableField(fill = FieldFill.INSERT)
|
|
private long creator;
|
|
|
|
//@Schema(description = "创建时间")
|
|
//@TableField(fill = FieldFill.INSERT)
|
|
private DateTime createDate;
|
|
}
|
|
}
|