package com.stylefeng.guns.modular.shunfeng.model;
|
|
import java.io.Serializable;
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 顺风车品牌
|
* </p>
|
*
|
* @author wumeng123
|
* @since 2020-04-27
|
*/
|
@TableName("app_brand")
|
public class Brand extends Model<Brand> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 品牌名称
|
*/
|
private String name;
|
/**
|
* 添加时间
|
*/
|
private Date addTime;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public Date getAddTime() {
|
return addTime;
|
}
|
|
public void setAddTime(Date addTime) {
|
this.addTime = addTime;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "Brand{" +
|
"id=" + id +
|
", name=" + name +
|
", addTime=" + addTime +
|
"}";
|
}
|
}
|