api-完善二维码入场逻辑,目前只支持健身馆
This commit is contained in:
@@ -5,20 +5,21 @@ package com.enums;
|
||||
*/
|
||||
public enum DeviceType {
|
||||
|
||||
ENTER("ENTER","进场"),
|
||||
OUT("OUTER","出场");
|
||||
private String code;
|
||||
ENTER(0,"进场"),
|
||||
OUT(1,"出场");
|
||||
private int code;
|
||||
private String name;
|
||||
|
||||
DeviceType(String code, String name) {
|
||||
DeviceType(int code, String name) {
|
||||
this.code = code;
|
||||
this.name = name;
|
||||
}
|
||||
public String getCode() {
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
package com.sv.dto;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class EnterResult {
|
||||
private Integer status;
|
||||
private BigDecimal money;
|
||||
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public BigDecimal getMoney() {
|
||||
return money;
|
||||
}
|
||||
|
||||
public void setMoney(BigDecimal money) {
|
||||
this.money = money;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user