using FreeSql.DataAnnotations; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace xicheji { /// /// 洗车记录 /// public class WashRecord { /// /// 数据库主键Id, 自增, 无需赋值 /// [Column(IsIdentity = true)] public int Id { get; set; } /// /// 洗车机器mac地址 /// public string DeviceId { get; set; } = string.Empty; /// /// 车牌号 /// public string CarNum { get; set; } = string.Empty; /// /// 开始时间 /// public DateTime StartTime { get; set; } /// /// 结束时间 /// public DateTime EndTime { get; set; } /// /// 洗车时长 /// public int WashTime { get; set; } /// /// 风干时长 /// public int DryTime { get; set; } /// /// 用水量 /// public int TotalWater { get; set; } /// /// 用电量 /// public int TotalElectricity { get; set; } /// /// 水压 /// public int WaterPressure { get; set; } [Column(ServerTime = DateTimeKind.Local, CanUpdate = false)] public DateTime CreateTime { get; set; } } }