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 java.io.Serializable;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2022-09-30
|
*/
|
@TableName("t_advertisement_user")
|
public class TAdvertisementUser extends Model<TAdvertisementUser> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 自定义广告id
|
*/
|
private Integer advertisementId;
|
/**
|
* 司机id
|
*/
|
private String driverId;
|
/**
|
* 用户id
|
*/
|
private String userId;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getAdvertisementId() {
|
return advertisementId;
|
}
|
|
public void setAdvertisementId(Integer advertisementId) {
|
this.advertisementId = advertisementId;
|
}
|
|
public String getDriverId() {
|
return driverId;
|
}
|
|
public void setDriverId(String driverId) {
|
this.driverId = driverId;
|
}
|
|
public String getUserId() {
|
return userId;
|
}
|
|
public void setUserId(String userId) {
|
this.userId = userId;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TAdvertisementUser{" +
|
"id=" + id +
|
", advertisementId=" + advertisementId +
|
", driverId=" + driverId +
|
", userId=" + userId +
|
"}";
|
}
|
}
|