namespace SocketTool.Entity; public class ScanCodeClass { /// /// 传入数据的IP地址 /// public string? IpAddress { get; set; } /// /// 整数性扫码编号,请勿混淆 /// public int ScanID { get; set; } /// /// 条码 /// public string? Code { get; set; } /// /// 字符串格式的扫码编号,请勿混淆 /// public string? StrScanID { get; set; } public override string ToString() { return $"({StrScanID}){Code}"; } }