cn.minsin.dianwoda.model.OrderNotifyModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mutils-dianwoda Show documentation
Show all versions of mutils-dianwoda Show documentation
mutils组件中提供点我达(跑腿服务)进行在线派单、查询骑手等操作,该组件不可单独引用至maven依赖。详情请查看DianWoDaFunctions
官方文档:https://open.dianwoda.com/open-docs/
package cn.minsin.dianwoda.model;
import cn.minsin.core.annotation.NotNull;
import cn.minsin.core.rule.ModelRule;
/**
* 点我达回调通知的实体类
* @author minsin
*
*/
public class OrderNotifyModel extends ModelRule {
/**
*
*/
private static final long serialVersionUID = 3839672482683503126L;
@NotNull("渠道订单编号,派发订单接口中的order_original_id值")
private String order_original_id;
@NotNull("订单状态 状态参考cn.minsin.dianwoda.code.StateCode")
private Integer order_status;
@NotNull("订单取消原因")
private String cancel_reason;
@NotNull("异常订单原因")
private String abnormal_reason;
@NotNull("妥投类型")
private String finish_reason;
@NotNull("配送员编号")
private String rider_code;
@NotNull("配送员姓名")
private String rider_name;
@NotNull("配送员手机号")
private String rider_mobile;
@NotNull("更新时间戳")
private Long time_status_update;
@NotNull("签名生成规则")
private String sig;
public String getOrder_original_id() {
return order_original_id;
}
public void setOrder_original_id(String order_original_id) {
this.order_original_id = order_original_id;
}
public Integer getOrder_status() {
return order_status;
}
public void setOrder_status(Integer order_status) {
this.order_status = order_status;
}
public String getCancel_reason() {
return cancel_reason;
}
public void setCancel_reason(String cancel_reason) {
this.cancel_reason = cancel_reason;
}
public String getAbnormal_reason() {
return abnormal_reason;
}
public void setAbnormal_reason(String abnormal_reason) {
this.abnormal_reason = abnormal_reason;
}
public String getFinish_reason() {
return finish_reason;
}
public void setFinish_reason(String finish_reason) {
this.finish_reason = finish_reason;
}
public String getRider_code() {
return rider_code;
}
public void setRider_code(String rider_code) {
this.rider_code = rider_code;
}
public String getRider_name() {
return rider_name;
}
public void setRider_name(String rider_name) {
this.rider_name = rider_name;
}
public String getRider_mobile() {
return rider_mobile;
}
public void setRider_mobile(String rider_mobile) {
this.rider_mobile = rider_mobile;
}
public Long getTime_status_update() {
return time_status_update;
}
public void setTime_status_update(Long time_status_update) {
this.time_status_update = time_status_update;
}
public String getSig() {
return sig;
}
public void setSig(String sig) {
this.sig = sig;
}
}