118 lines
2.1 KiB
Java
118 lines
2.1 KiB
Java
package com.gear.oa.domain;
|
||
|
||
import com.baomidou.mybatisplus.annotation.TableId;
|
||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||
import com.baomidou.mybatisplus.annotation.TableName;
|
||
import com.gear.common.core.domain.BaseEntity;
|
||
import lombok.Data;
|
||
import lombok.EqualsAndHashCode;
|
||
|
||
import java.util.Date;
|
||
|
||
/**
|
||
* 发货单据对象 gear_shipping_order
|
||
*
|
||
* 说明:
|
||
* - 用于记录订单发货信息(物流公司/运单号/收货信息等)
|
||
* - 与出入库/WMS 单据无关,避免与库存模块耦合
|
||
*/
|
||
@Data
|
||
@EqualsAndHashCode(callSuper = true)
|
||
@TableName("gear_shipping_order")
|
||
public class GearShippingOrder extends BaseEntity {
|
||
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
/**
|
||
* 发货单据ID
|
||
*/
|
||
@TableId(value = "shipping_id")
|
||
private Long shippingId;
|
||
|
||
/**
|
||
* 发货单号(唯一)
|
||
*/
|
||
private String shippingNo;
|
||
|
||
/**
|
||
* 发货单名称(展示用)
|
||
*/
|
||
private String shippingName;
|
||
|
||
/**
|
||
* 发货计划ID
|
||
*/
|
||
private Long planId;
|
||
|
||
/**
|
||
* 关联订单ID
|
||
*/
|
||
private Long orderId;
|
||
|
||
/**
|
||
* 订单编号快照
|
||
*/
|
||
private String orderCode;
|
||
|
||
/**
|
||
* 收货单位
|
||
*/
|
||
private String receiverCompany;
|
||
|
||
/**
|
||
* 收货客户ID(真实归属客户)
|
||
*/
|
||
private Long receiverCustomerId;
|
||
|
||
/**
|
||
* 发货时间
|
||
*/
|
||
private Date shipTime;
|
||
|
||
/**
|
||
* 负责人
|
||
*/
|
||
private String responsibleName;
|
||
|
||
/**
|
||
* 物流公司
|
||
*/
|
||
private String logisticsCompany;
|
||
|
||
/**
|
||
* 运单号
|
||
*/
|
||
private String logisticsNo;
|
||
|
||
/**
|
||
* 收货人
|
||
*/
|
||
private String receiverName;
|
||
|
||
/**
|
||
* 收货电话
|
||
*/
|
||
private String receiverPhone;
|
||
|
||
/**
|
||
* 收货地址
|
||
*/
|
||
private String receiverAddress;
|
||
|
||
/**
|
||
* 完成状态(0未发货 1已打印 2已发货 3已完成)
|
||
*/
|
||
private String status;
|
||
|
||
/**
|
||
* 备注
|
||
*/
|
||
private String remark;
|
||
|
||
/**
|
||
* 删除标志(0存在 2删除)
|
||
*/
|
||
@TableLogic(value = "0", delval = "2")
|
||
private String delFlag;
|
||
}
|