package com.yuchen.saas.park.api.entity.pldoor;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

/**
 * <p>
 * 智慧配送订单
 * </p>
 *
 * @author miaoqs
 * @since 2024-07-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pl_ps_order")
@ApiModel(value="PlPsOrder对象", description="智慧配送订单")
public class PlPsOrder extends TenantEntity {

    /**
     * 项目
     */
    @ApiModelProperty(name = "parkId", value = "项目")
    private Long parkId;
    /**
     * 楼栋
     */
    @ApiModelProperty(name = "buildingId", value = "楼栋")
    private Long buildingId;
    /**
     * 单元
     */
    @ApiModelProperty(name = "elementId", value = "单元")
    private Long elementId;
    /**
     * 房号
     */
    @ApiModelProperty(name = "roomNumberId", value = "房号")
    private Long roomNumberId;
    /**
     * 配送地点
     */
    @ApiModelProperty(name = "shopAddress", value = "配送地点")
    private String shopAddress;
    /**
     * 发货地址
     */
    @ApiModelProperty(name = "sendAddress", value = "发货地址")
    private String sendAddress;
    /**
     * 订单号
     */
    @ApiModelProperty(name = "orderNo", value = "订单号")
    private String orderNo;
    /**
     * 订单状态;1:排队中;2:待发货;3:配送中;4:已完成;5:已关闭;6:配送异常;
     */
    @ApiModelProperty(name = "orderState", value = "订单状态;1:排队中;2:待发货;3:配送中;4:已完成;5:已关闭;6:配送异常;")
    private String orderState;
    /**
     * 配送货品
     */
    @ApiModelProperty(name = "goodsName", value = "配送货品")
    private String goodsName;
    /**
     * 配送任务id
     */
    @ApiModelProperty(name = "taskId", value = "配送任务id")
    private Long taskId;
    /**
     * 配送任务单编号
     */
    @ApiModelProperty(name = "taskNo", value = "配送任务单编号")
    private String taskNo;
    /**
     * 配送机器人id
     */
    @ApiModelProperty(name = "psRobotId", value = "配送机器人id")
    private Long psRobotId;
    /**
     * 收货人
     */
    @ApiModelProperty(name = "recipientName", value = "收货人")
    private String recipientName;
    /**
     * 收货人手机号
     */
    @ApiModelProperty(name = "consigneePhone", value = "收货人手机号")
    private String consigneePhone;
    /**
     * 备用手机号
     */
    @ApiModelProperty(name = "alternatePhone", value = "备用手机号")
    private String alternatePhone;
    /**
     * 预计送达时间
     */
    @ApiModelProperty(name = "scheduledTime", value = "预计送达时间")
    private String scheduledTime;
    /**
     * 备注信息
     */
    @ApiModelProperty(name = "remark", value = "备注信息")
    private String remark;
    /**
     * 关闭备注
     */
    @ApiModelProperty(name = "closeRemark", value = "关闭备注")
    private String closeRemark;



}
