StorageLocationDto.cs
1.55 KB
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.Text.Json.Serialization;
namespace Rcs.Application.DTOs
{
/// <summary>
/// 库位DTO
/// @author zzy
/// </summary>
public class StorageLocationDto
{
public string LocationId { get; set; }
public string AreaId { get; set; }
public string? MapNodeId { get; set; }
public string? LocationTypeId { get; set; }
public string LocationCode { get; set; }
public string? LocationName { get; set; }
public int? LayerNumber { get; set; }
/// <summary>
/// 宽度(单位:mm)
/// @author zzy
/// </summary>
public double? Width { get; set; }
/// <summary>
/// 深度(单位:mm)
/// @author zzy
/// </summary>
public double? Depth { get; set; }
/// <summary>
/// 高度(单位:mm)
/// @author zzy
/// </summary>
public double? Height { get; set; }
/// <summary>
/// 最大载重(单位:kg)
/// @author zzy
/// </summary>
public double? MaxLoadWeight { get; set; }
public int Status { get; set; }
public bool IsActive { get; set; }
/// <summary>
/// 所属库区(忽略序列化以避免循环引用)
/// </summary>
[JsonIgnore]
public StorageAreaDto? StorageArea { get; set; }
/// <summary>
/// 储位类型
/// @author zzy
/// </summary>
public StorageLocationTypeDto? LocationType { get; set; }
}
}