Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using MongoDB.Bson;
|
||||
|
||||
namespace adas_core.Domain.Models.MongoModels;
|
||||
|
||||
public class Camera
|
||||
{
|
||||
public ObjectId Id { get; set; }
|
||||
public string? Name { get; set; } = string.Empty;
|
||||
|
||||
public Stream? Streams { get; set; }
|
||||
|
||||
public bool Ptz { get; set; }
|
||||
|
||||
public string? Driver { get; set; }
|
||||
|
||||
public string? Ip { get; set; }
|
||||
|
||||
public string? Username { get; set; }
|
||||
|
||||
public string? Password { get; set; }
|
||||
public bool InUse { get; private set; }
|
||||
}
|
||||
|
||||
public class Stream
|
||||
{
|
||||
public string? Rtsp { get; set; }
|
||||
public string? Jpeg { get; set; }
|
||||
public string? WebRtc { get; set; }
|
||||
public string? Hls { get; set; }
|
||||
public string? Mp4 { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user