package cn.iocoder.yudao.module.mes.dal.dataobject.wm.sorting;
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* MES 分拣任务 DO
|
*
|
* 需求 5.3:订单分拣 —— 由发货通知单发起,分拣完成后触发出库配送
|
*/
|
@TableName("mes_wm_sort_task")
|
@KeySequence("mes_wm_sort_task_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class MesWmSortTaskDO extends BaseDO {
|
|
/**
|
* 编号
|
*/
|
@TableId
|
private Long id;
|
/**
|
* 分拣任务编码
|
*/
|
private String code;
|
/**
|
* 发货通知单编号
|
*
|
* 关联 mes_wm_sales_notice 的 id 字段
|
*/
|
private Long noticeId;
|
/**
|
* 发货通知单编码
|
*/
|
private String noticeCode;
|
/**
|
* 销售订单编号
|
*/
|
private Long saleOrderId;
|
/**
|
* 销售订单编码
|
*/
|
private String saleOrderCode;
|
/**
|
* 客户编号
|
*/
|
private Long clientId;
|
/**
|
* 收货人
|
*/
|
private String recipientName;
|
/**
|
* 收货电话
|
*/
|
private String recipientTelephone;
|
/**
|
* 收货地址
|
*/
|
private String recipientAddress;
|
/**
|
* 承运商(配送触发时填写)
|
*/
|
private String carrier;
|
/**
|
* 物流单号(配送触发时填写)
|
*/
|
private String shippingNumber;
|
/**
|
* 状态
|
*
|
* 枚举 {@link cn.iocoder.yudao.module.mes.enums.wm.MesWmSortTaskStatusEnum}
|
*/
|
private Integer status;
|
/**
|
* 分拣人编号
|
*/
|
private Long sortUserId;
|
/**
|
* 分拣完成时间
|
*/
|
private LocalDateTime sortTime;
|
/**
|
* 打印次数
|
*/
|
private Integer printCount;
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
}
|