using System; using System.Collections.Generic; public class ScanLogSocket { /// /// /// public DateTime CreateTime { get { DateTimeOffset dateTimeOffset = DateTimeOffset.FromUnixTimeMilliseconds(timestamp); return dateTimeOffset.UtcDateTime; } } public long timestamp { get; set; } public int data_type { get; set; } public string rfid { get; set; } public string code { get; set; } public string ocr { get; set; } public string url { get; set; } public string isOk { get; set; } public string result { get; set; } }