api-完善二维码入场逻辑,目前只支持健身馆

This commit is contained in:
limqhz
2020-07-23 16:00:07 +08:00
parent 6550f5d06b
commit 4fcd4b4d40
9 changed files with 85 additions and 161 deletions

View File

@@ -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;
}

View File

@@ -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;
}
}