package com.ruoyi.goods.api.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.ruoyi.common.core.web.domain.BaseModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
/**
|
* <p>
|
* 商品类型表
|
* </p>
|
*
|
* @author 无关风月
|
* @since 2024-04-26
|
*/
|
@TableName("t_goods_type")
|
public class TGoodsType extends BaseModel {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 类型名称
|
*/
|
@ApiModelProperty(value = "类型名称")
|
private String name;
|
/**
|
* 是否删除 0否1是
|
*/
|
@ApiModelProperty(value = "是否删除0否1是")
|
private Integer isDelete;
|
|
|
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 Integer getIsDelete() {
|
return isDelete;
|
}
|
|
public void setIsDelete(Integer isDelete) {
|
this.isDelete = isDelete;
|
}
|
|
@Override
|
public String toString() {
|
return "TGoodsType{" +
|
", id=" + id +
|
", name=" + name +
|
", isDelete=" + isDelete +
|
"}";
|
}
|
}
|