表设计
@Entity
@Getter
@Setter
public class StoreLog extends BaseEntity {
//机器id
private Integer storeId;
//机器状态
private LogType type;
public enum LogType {
RUN,
OPERATION
}
private String code;
private String content;
}
1.与安卓端交互时,根据返回的type,code来判断,硬件机器是在什么情况发生的错误