using FreeSql.DataAnnotations; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace xicheji { public class PLCRecord { /// /// 数据库主键Id, 自增, 无需赋值 /// [Column(IsIdentity = true)] public int Id { get; set; } /// /// 单次的数据 /// public byte[] Data { get; set; } [Column(ServerTime = DateTimeKind.Utc, CanUpdate = false)] public DateTime CreateTime { get; set; } } }