wanshenmean
6 小时以前 ad64840cc04dac2278ca02f22ddc02b1a218e9cf
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
using SqlSugar;
using WIDESEAWCS_Core.DB.Models;
 
namespace WIDESEAWCS_Model.Models
{
    /// <summary>
    /// 假电芯平面点位表
    /// </summary>
    /// <remarks>
    /// 用于管理假电芯抓取点的平面点位信息。
    /// 3行×16列布局,共48个点位(1-48),行优先排列。
    /// 第1行:1-16,第2行:17-32,第3行:33-48。
    /// </remarks>
    [SugarTable(nameof(Dt_FakeBatteryPosition), "假电芯平面点位表")]
    public class Dt_FakeBatteryPosition : BaseEntity
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键ID")]
        public int Id { get; set; }
 
        /// <summary>
        /// 平面点位索引(1-48)
        /// </summary>
        /// <remarks>
        /// 3×16布局,行优先(1-16为第1行,17-32为第2行,33-48为第3行)。
        /// </remarks>
        [SugarColumn(ColumnDescription = "平面点位索引")]
        public int PositionIndex { get; set; }
 
        /// <summary>
        /// 所在行(1-3)
        /// </summary>
        [SugarColumn(ColumnDescription = "所在行")]
        public int Row { get; set; }
 
        /// <summary>
        /// 所在列(1-16)
        /// </summary>
        [SugarColumn(ColumnDescription = "所在列")]
        public int Col { get; set; }
 
        /// <summary>
        /// 是否已使用
        /// </summary>
        [SugarColumn(ColumnDescription = "是否已使用")]
        public bool IsUsed { get; set; }
    }
}