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
|
{
|
/// <summary>
|
/// 设备运行码表
|
/// </summary>
|
[SugarTable(nameof(Dt_RuntimeCode), TableDescription = "设备运行码表")]
|
public class Dt_RuntimeCode : BaseEntity
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 设备唯一标识
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "设备唯一标识")]
|
public string DeviceId { get; set; } = null!;
|
|
/// <summary>
|
/// 运行时代码
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "运行时代码")]
|
public string RuntimeCode { get; set; } = null!;
|
|
/// <summary>
|
/// 随机码
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "随机码")]
|
public string BaseRandom { get; set; } = null!;
|
|
/// <summary>
|
/// 设备信息
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "设备信息")]
|
public string DeviceInfo { get; set; } = null!;
|
|
/// <summary>
|
/// 校验位
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "校验位")]
|
public string CheckDigit { get; set; } = null!;
|
|
/// <summary>
|
/// 产品主键
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "产品主键")]
|
public int ProductId { get; set; }
|
}
|
}
|