package com.jwipc.tender.util;

/**
 * @author Al
 * @create 2024-03-05 16:12
 * 系统统一反馈消息对象
 */
public class SysReturnMsg {

        private Boolean state;  // 成功状态
        private String msg;     //
        private Object data;

        public SysReturnMsg(){
            super();
            this.state = false;
            this.msg = "no program is executed!";
        }
        public SysReturnMsg(Boolean state, String msg){
            this.state = state;
            this.msg = msg;
        }
        public SysReturnMsg(Boolean state){
            this.state = state;
        }
        public SysReturnMsg(Boolean state, String msg, Object data){
            this.state = state;
            this.msg = msg;
            this.data = data;
        }
        public Boolean getState() {
            return state;
        }
        public void setState(Boolean state) {
            this.state = state;
        }
        public String getMsg() {
            return msg;
        }
        public void setMsg(String msg) {
            this.msg = msg;
        }
        public Object getData() {
            return data;
        }
        public void setData(Object data) {
            this.data = data;
        }

    }

