using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { /// /// 设备运行码表 /// [SugarTable(nameof(Dt_RuntimeCode), TableDescription = "设备运行码表")] public class Dt_RuntimeCode : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 设备唯一标识 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "设备唯一标识")] public string DeviceId { get; set; } = null!; /// /// 运行时代码 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "运行时代码")] public string RuntimeCode { get; set; } = null!; /// /// 随机码 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "随机码")] public string BaseRandom { get; set; } = null!; /// /// 设备信息 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "设备信息")] public string DeviceInfo { get; set; } = null!; /// /// 校验位 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "校验位")] public string CheckDigit { get; set; } = null!; /// /// 产品主键 /// [SugarColumn(IsNullable = false, ColumnDescription = "产品主键")] public int ProductId { get; set; } } }