package com.stylefeng.guns.modular.system.model;
|
|
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 吕雪
|
* @since 2020-09-02
|
*/
|
@TableName("t_integral_goods")
|
public class TIntegralGoods extends Model<TIntegralGoods> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 添加时间
|
*/
|
private Date insertTime;
|
/**
|
* 商品名称
|
*/
|
private String name;
|
/**
|
* 商品图片
|
*/
|
private String imgUrl;
|
/**
|
* 兑换积分
|
*/
|
private Integer integral;
|
/**
|
* 商品说明
|
*/
|
private String instructions;
|
/**
|
* 状态 1=正常 2=已下架 3=删除
|
*/
|
private Integer state;
|
/**
|
* 添加用户ID
|
*/
|
private Integer insertUserId;
|
/**
|
* 添加用户角色
|
*/
|
private Integer insertUserRole;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Date getInsertTime() {
|
return insertTime;
|
}
|
|
public void setInsertTime(Date insertTime) {
|
this.insertTime = insertTime;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getImgUrl() {
|
return imgUrl;
|
}
|
|
public void setImgUrl(String imgUrl) {
|
this.imgUrl = imgUrl;
|
}
|
|
public Integer getIntegral() {
|
return integral;
|
}
|
|
public void setIntegral(Integer integral) {
|
this.integral = integral;
|
}
|
|
public String getInstructions() {
|
return instructions;
|
}
|
|
public void setInstructions(String instructions) {
|
this.instructions = instructions;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public Integer getInsertUserId() {
|
return insertUserId;
|
}
|
|
public void setInsertUserId(Integer insertUserId) {
|
this.insertUserId = insertUserId;
|
}
|
|
public Integer getInsertUserRole() {
|
return insertUserRole;
|
}
|
|
public void setInsertUserRole(Integer insertUserRole) {
|
this.insertUserRole = insertUserRole;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TIntegralGoods{" +
|
"id=" + id +
|
", insertTime=" + insertTime +
|
", name=" + name +
|
", imgUrl=" + imgUrl +
|
", integral=" + integral +
|
", instructions=" + instructions +
|
", state=" + state +
|
", insertUserId=" + insertUserId +
|
", insertUserRole=" + insertUserRole +
|
"}";
|
}
|
}
|