MapNodeDto.cs 1.52 KB
using System;
using System.Collections.Generic;

namespace Rcs.Application.DTOs
{
    public class MapNodeDto
    {
        public string? NodeId { get; set; }

        /// <summary>
        /// 地图ID(外键)
        /// </summary>
        public string? MapId { get; set; }

        public string NodeCode { get; set; }

        public string? NodeName { get; set; }

        public string? Description { get; set; }

        public double X { get; set; }

        public double Y { get; set; }

        public double? Theta { get; set; }

        /// <summary>
        /// 是否倒车进入
        /// </summary>
        public bool IsReverseParking { get; set; }

        /// <summary>
        /// 是否旋转
        /// </summary>
        public bool AllowRotate { get; set; }

        /// <summary>
        /// 最大坐标偏移值 (单位:米)
        /// </summary>
        public double? MaxCoordinateOffset { get; set; }

        /// <summary>
        /// 节点类型(枚举转字符串)
        /// </summary>
        public int Type { get; set; }

        public string? Metadata { get; set; }

        public DateTime? CreatedAt { get; set; }

        public bool Active { get; set; }

        /// <summary>
        /// 是否为斑马线点
        /// </summary>
        public bool ZebraCrossing { get; set; }

        /// <summary>
        /// 关联库位集合
        /// @author zzy
        /// </summary>
        public List<StorageLocationDto> StorageLocations { get; set; } = new List<StorageLocationDto>();
    }
}