LogVoBase.java 7.01 KB
package com.viontech.fanxing.commons.vobase;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.viontech.fanxing.commons.base.VoInterface;
import com.viontech.fanxing.commons.model.Log;
import java.util.ArrayList;
import java.util.Date;

public class LogVoBase extends Log implements VoInterface<Log> {
    private Log log;

    @JsonIgnore
    private ArrayList<Long> id_arr;

    @JsonIgnore
    private Long id_gt;

    @JsonIgnore
    private Long id_lt;

    @JsonIgnore
    private Long id_gte;

    @JsonIgnore
    private Long id_lte;

    @JsonIgnore
    private ArrayList<Date> dateTime_arr;

    @JsonIgnore
    private Date dateTime_gt;

    @JsonIgnore
    private Date dateTime_lt;

    @JsonIgnore
    private Date dateTime_gte;

    @JsonIgnore
    private Date dateTime_lte;

    @JsonIgnore
    private Boolean username_null;

    @JsonIgnore
    private ArrayList<String> username_arr;

    @JsonIgnore
    private String username_like;

    @JsonIgnore
    private ArrayList<Integer> logType_arr;

    @JsonIgnore
    private Integer logType_gt;

    @JsonIgnore
    private Integer logType_lt;

    @JsonIgnore
    private Integer logType_gte;

    @JsonIgnore
    private Integer logType_lte;

    @JsonIgnore
    private Boolean content_null;

    @JsonIgnore
    private ArrayList<String> content_arr;

    @JsonIgnore
    private String content_like;

    public LogVoBase() {
        this(null);
    }

    public LogVoBase(Log log) {
        if(log == null) {
            log = new Log();
        }
        this.log = log;
    }

    @JsonIgnore
    public Log getModel() {
        return log;
    }

    public void setModel(Log log) {
        this.log = log;
    }

    public ArrayList<Long> getId_arr() {
        return id_arr;
    }

    public void setId_arr(ArrayList<Long> id_arr) {
        this.id_arr = id_arr;
    }

    public Long getId_gt() {
        return id_gt;
    }

    public void setId_gt(Long id_gt) {
        this.id_gt = id_gt;
    }

    public Long getId_lt() {
        return id_lt;
    }

    public void setId_lt(Long id_lt) {
        this.id_lt = id_lt;
    }

    public Long getId_gte() {
        return id_gte;
    }

    public void setId_gte(Long id_gte) {
        this.id_gte = id_gte;
    }

    public Long getId_lte() {
        return id_lte;
    }

    public void setId_lte(Long id_lte) {
        this.id_lte = id_lte;
    }

    public Long getId() {
        if(getModel() == null ){
            throw new RuntimeException("model is null");
        }
        return this.getModel().getId();
    }

    public void setId(Long id) {
        if(getModel() == null ){
            throw new RuntimeException("model is null");
        }
        this.getModel().setId(id);
    }

    public ArrayList<Date> getDateTime_arr() {
        return dateTime_arr;
    }

    public void setDateTime_arr(ArrayList<Date> dateTime_arr) {
        this.dateTime_arr = dateTime_arr;
    }

    public Date getDateTime_gt() {
        return dateTime_gt;
    }

    public void setDateTime_gt(Date dateTime_gt) {
        this.dateTime_gt = dateTime_gt;
    }

    public Date getDateTime_lt() {
        return dateTime_lt;
    }

    public void setDateTime_lt(Date dateTime_lt) {
        this.dateTime_lt = dateTime_lt;
    }

    public Date getDateTime_gte() {
        return dateTime_gte;
    }

    public void setDateTime_gte(Date dateTime_gte) {
        this.dateTime_gte = dateTime_gte;
    }

    public Date getDateTime_lte() {
        return dateTime_lte;
    }

    public void setDateTime_lte(Date dateTime_lte) {
        this.dateTime_lte = dateTime_lte;
    }

    public Date getDateTime() {
        if(getModel() == null ){
            throw new RuntimeException("model is null");
        }
        return this.getModel().getDateTime();
    }

    public void setDateTime(Date dateTime) {
        if(getModel() == null ){
            throw new RuntimeException("model is null");
        }
        this.getModel().setDateTime(dateTime);
    }

    public Boolean getUsername_null() {
        return username_null;
    }

    public void setUsername_null(Boolean username_null) {
        this.username_null = username_null;
    }

    public ArrayList<String> getUsername_arr() {
        return username_arr;
    }

    public void setUsername_arr(ArrayList<String> username_arr) {
        this.username_arr = username_arr;
    }

    public String getUsername_like() {
        return username_like;
    }

    public void setUsername_like(String username_like) {
        this.username_like = username_like;
    }

    public String getUsername() {
        if(getModel() == null ){
            throw new RuntimeException("model is null");
        }
        return this.getModel().getUsername();
    }

    public void setUsername(String username) {
        if(getModel() == null ){
            throw new RuntimeException("model is null");
        }
        this.getModel().setUsername(username);
    }

    public ArrayList<Integer> getLogType_arr() {
        return logType_arr;
    }

    public void setLogType_arr(ArrayList<Integer> logType_arr) {
        this.logType_arr = logType_arr;
    }

    public Integer getLogType_gt() {
        return logType_gt;
    }

    public void setLogType_gt(Integer logType_gt) {
        this.logType_gt = logType_gt;
    }

    public Integer getLogType_lt() {
        return logType_lt;
    }

    public void setLogType_lt(Integer logType_lt) {
        this.logType_lt = logType_lt;
    }

    public Integer getLogType_gte() {
        return logType_gte;
    }

    public void setLogType_gte(Integer logType_gte) {
        this.logType_gte = logType_gte;
    }

    public Integer getLogType_lte() {
        return logType_lte;
    }

    public void setLogType_lte(Integer logType_lte) {
        this.logType_lte = logType_lte;
    }

    public Integer getLogType() {
        if(getModel() == null ){
            throw new RuntimeException("model is null");
        }
        return this.getModel().getLogType();
    }

    public void setLogType(Integer logType) {
        if(getModel() == null ){
            throw new RuntimeException("model is null");
        }
        this.getModel().setLogType(logType);
    }

    public Boolean getContent_null() {
        return content_null;
    }

    public void setContent_null(Boolean content_null) {
        this.content_null = content_null;
    }

    public ArrayList<String> getContent_arr() {
        return content_arr;
    }

    public void setContent_arr(ArrayList<String> content_arr) {
        this.content_arr = content_arr;
    }

    public String getContent_like() {
        return content_like;
    }

    public void setContent_like(String content_like) {
        this.content_like = content_like;
    }

    public String getContent() {
        if(getModel() == null ){
            throw new RuntimeException("model is null");
        }
        return this.getModel().getContent();
    }

    public void setContent(String content) {
        if(getModel() == null ){
            throw new RuntimeException("model is null");
        }
        this.getModel().setContent(content);
    }
}