You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
320 B

using HybirdFrameworkCore.Autofac.Attribute;
using HybirdFrameworkCore.Utils;
using HybirdFrameworkDriver.Common;
namespace Service.TBox.Msg;
public class BaseMsg : IToBytes
{
[Property(0, 32)] public UInt32 Id { get; set; }
public byte[] ToBytes()
{
return ModelConvert.Encode(this);
}
}