2024-12-19 16:07:07 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
2025-04-15 17:57:47 +08:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2024-12-19 16:07:07 +08:00
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
2025-04-15 17:57:47 +08:00
|
|
|
|
using JiShe.CollectBus.Common.Attributes;
|
2024-12-19 16:07:07 +08:00
|
|
|
|
using JiShe.CollectBus.Common.Enums;
|
2024-10-30 17:49:05 +08:00
|
|
|
|
|
2025-03-14 14:28:04 +08:00
|
|
|
|
namespace JiShe.CollectBus.IotSystems.MessageIssueds
|
2024-10-28 16:23:39 +08:00
|
|
|
|
{
|
2025-04-15 17:57:47 +08:00
|
|
|
|
[CassandraTable]
|
2024-12-19 16:07:07 +08:00
|
|
|
|
public class MessageIssued
|
2024-10-28 16:23:39 +08:00
|
|
|
|
{
|
2025-04-15 17:57:47 +08:00
|
|
|
|
[Key]
|
2024-10-28 16:23:39 +08:00
|
|
|
|
public string ClientId { get; set; }
|
|
|
|
|
|
public byte[] Message { get; set; }
|
|
|
|
|
|
public string DeviceNo { get; set; }
|
2024-10-30 17:49:05 +08:00
|
|
|
|
public IssuedEventType Type { get; set; }
|
|
|
|
|
|
public string MessageId { get; set; }
|
2024-10-28 16:23:39 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|