package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 显示模块
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2022-05-11
|
*/
|
@TableName("tb_show_modular")
|
public class TbShowModular extends Model<TbShowModular> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 类型(1=招募,2=租车,3=买车,4=出租个人车辆,5=卖车,6=商家中心,7=打车卡)
|
*/
|
@ApiModelProperty("类型(1=招募,2=租车,3=买车,4=出租个人车辆,5=卖车,6=商家中心,7=打车卡)")
|
private Integer type;
|
/**
|
* 司机是否显示(1=是,2=否)
|
*/
|
@ApiModelProperty("司机是否显示(1=是,2=否)")
|
private Integer driverShow;
|
/**
|
* 用户是否显示(1=是,2=否)
|
*/
|
@ApiModelProperty("用户是否显示(1=是,2=否)")
|
private Integer userShow;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public Integer getDriverShow() {
|
return driverShow;
|
}
|
|
public void setDriverShow(Integer driverShow) {
|
this.driverShow = driverShow;
|
}
|
|
public Integer getUserShow() {
|
return userShow;
|
}
|
|
public void setUserShow(Integer userShow) {
|
this.userShow = userShow;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TbShowModular{" +
|
"id=" + id +
|
", type=" + type +
|
", driverShow=" + driverShow +
|
", userShow=" + userShow +
|
"}";
|
}
|
}
|