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