parent
6bebe728c9
commit
517f678c07
@ -0,0 +1,28 @@
|
|||||||
|
package com.example.api.model.enums;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 配送单状态
|
||||||
|
*/
|
||||||
|
public enum DistributionStatus {
|
||||||
|
|
||||||
|
//正在审核
|
||||||
|
REVIEWING(0),
|
||||||
|
|
||||||
|
//审核成功
|
||||||
|
REVIEW_SUCCESS(1),
|
||||||
|
|
||||||
|
//订单完成
|
||||||
|
END(2);
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
private Integer code;
|
||||||
|
|
||||||
|
DistributionStatus(Integer code) {
|
||||||
|
this.code = code;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue