mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-11-03 14:04:49 +08:00
完成订单信息接口编写
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package cn.mafangui.hotel.utils;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public class StaticString {
|
||||
public static final String CODE = "code";
|
||||
public static final String STATUS = "status";
|
||||
@@ -15,13 +13,30 @@ public class StaticString {
|
||||
|
||||
/**
|
||||
* 房间状态
|
||||
* 不可用
|
||||
* 空闲可用
|
||||
* 已被预订
|
||||
* 已被入住
|
||||
*/
|
||||
public static final int UNAVAILABLE = 0;
|
||||
public static final int AVAILABLE = 1;
|
||||
public static final int OCCUPIED = 0;
|
||||
public static final int IN_USE = -1;
|
||||
public static final int UNAVAILABLE = -2;
|
||||
|
||||
|
||||
public static final int OCCUPIED = 2;
|
||||
public static final int IN_USE = 3;
|
||||
/**
|
||||
* 订单状态
|
||||
* 被用户删除-2
|
||||
* 被取消-1
|
||||
* 未付款0
|
||||
* 已付款1
|
||||
* 已入住2
|
||||
* 超时3
|
||||
*/
|
||||
public static final int WAS_DELETE = -2;
|
||||
public static final int WAS_CANCELED = -1;
|
||||
public static final int UNPAID = 0;
|
||||
public static final int PAID = 1;
|
||||
public static final int WAS_USED = 2;
|
||||
public static final int OVERTIME = 3;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user