All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.mybatisplus.web.SwaggerBaseEntity Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.mybatisplus.web;

import java.util.Date;

import org.zodiac.mybatisplus.base.BaseEntity;

import io.swagger.annotations.ApiModelProperty;

public abstract class SwaggerBaseEntity extends BaseEntity {

    private static final long serialVersionUID = -8310883291592248213L;

    public SwaggerBaseEntity() {
    }

    @ApiModelProperty(value = "主键id")
    @Override
    public Long getId() {
        return super.getId();
    }

    @ApiModelProperty(value = "创建人")
    @Override
    public Long getCreateUser() {
        return super.getCreateUser();
    }

    @ApiModelProperty(value = "创建部门")
    @Override
    public Long getCreateDept() {
        return super.getCreateDept();
    }

    @ApiModelProperty(value = "创建时间")
    @Override
    public Date getCreateTime() {
        return super.getCreateTime();
    }

    @ApiModelProperty(value = "更新人")
    @Override
    public Long getUpdateUser() {
        return super.getUpdateUser();
    }

    @ApiModelProperty(value = "更新时间")
    @Override
    public Date getUpdateTime() {
        return super.getUpdateTime();
    }

    @ApiModelProperty(value = "业务状态")
    @Override
    public Integer getStatus() {
        return super.getStatus();
    }

    @ApiModelProperty(value = "是否已删除")
    @Override
    public Integer getIsDeleted() {
        return super.getIsDeleted();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy