/* * Copyright (c) 2018-2025, ztt All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the pig4cloud.com developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: ztt */ package com.chinaztt.mes.warehouse.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.extension.activerecord.Model; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import java.time.LocalDateTime; /** * 押运单主表 * * @author cxf * @date 2021-07-23 14:32:00 */ @Data @TableName("warehouse_escort") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "押运单主表") public class Escort extends Model { private static final long serialVersionUID = 1L; public static final int DIGIT = 3; public static final String PREFIX = "YYD"; /** * id */ @TableId @ApiModelProperty(value = "id") private Long id; /** * GSM的押运单的id */ @ApiModelProperty(value = "GSM的押运单的id") private Long escortAutoId; /** * 押运单号 */ @ApiModelProperty(value = "押运单号") private String escortNo; /** * 订单号 */ @ApiModelProperty(value = "订单号") private String orderNo; /** * 要求到货日期 */ @ApiModelProperty(value = "要求到货日期") private LocalDateTime requestDate; /** * 客户订单号 */ @ApiModelProperty(value = "客户订单号") private String customerOrderNo; /** * 工程名称 */ @ApiModelProperty(value = "工程名称") private String entityName; /** * 客户名称 */ @ApiModelProperty(value = "客户名称") private String customerName; /** * 客户编码 */ @ApiModelProperty(value = "客户编码") private String customerNo; /** * 交货地址 */ @ApiModelProperty(value = "交货地址") private String address; /** * 联系人 */ @ApiModelProperty(value = "联系人") private String receiver; /** * 联系电话 */ @ApiModelProperty(value = "联系电话") private String phone; /** * 发货日期 */ @ApiModelProperty(value = "发货日期") private LocalDateTime deliveryDate; /** * 承运商 */ @ApiModelProperty(value = "承运商") private String carrier; /** * 业务员 */ @ApiModelProperty(value = "业务员") private String salesman; /** * 业务员员工编号 */ @ApiModelProperty(value = "业务员员工编号") private String salesmanWorkCode; /** * 备注 */ @ApiModelProperty(value = "备注") private String remark; /** * 状态 */ @ApiModelProperty(value = "状态") private String status; /** * 客户订单id */ @ApiModelProperty(value = "客户订单id") private Long customerOrderId; }