z8018
2 天以前 d8dc91f9c1fece5711e38edd1b1274cb9e579015
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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; }
    }
}