25 lines
715 B
C#
Raw Permalink Normal View History

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;
2025-04-16 16:12:38 +08:00
using Volo.Abp.Domain.Entities;
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]
2025-04-21 09:54:34 +08:00
public class MessageIssued: ICassandraEntity<string>
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; }
2025-04-21 09:54:34 +08:00
[PartitionKey]
2025-04-16 16:12:38 +08:00
public string Id { get; set; }
2024-10-28 16:23:39 +08:00
}
}