StorageLocationDto.cs
980 Bytes
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; }
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; }
}
}