using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JiShe.CollectBus.Common.Attributes;
using JiShe.CollectBus.Common.Enums;
using Volo.Abp.Domain.Entities;

namespace JiShe.CollectBus.IotSystems.MessageIssueds
{
    [CassandraTable]
    public class MessageIssued: ICassandraEntity<string>
    {
        public string ClientId { get; set; }
        public byte[] Message { get; set; }
        public string DeviceNo { get; set; }
        public IssuedEventType Type { get; set; }
        public string MessageId { get; set; }
        [PartitionKey]
        public string Id { get; set; }
    }
}
