using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LangGuan.Command.Model.EntityModel
{
///
/// 设备信息
///
public class Device : BaseModel
{
///
/// deviceIp
///
public string deviceIp { get; set; }
///
/// 设备标识
///
public string deviceId { get; set; }
[BsonRepresentation(BsonType.String)]
///
/// 经
///
public string lng { get; set; }
[BsonRepresentation(BsonType.String)]
///
/// 续
///
public string lat { get; set; }
///
/// 别名
///
public string NickName { get; set; }
///
/// 角度
///
public double angle { get; set; }
///
/// 状态 0,离线,1在线
///
public int state { get; set; }
///
/// 是否分配组
///
public bool InGroup { get; set; }
}
}