package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 使用指南
|
* </p>
|
*
|
* @author 无关风月
|
* @since 2024-02-06
|
*/
|
@TableName("t_use_guide")
|
@Data
|
@ApiModel(value = "使用规则VO")
|
public class UseGuide extends Model<UseGuide> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@ApiModelProperty(value = "主键id")
|
private Integer id;
|
/**
|
* 标题
|
*/
|
@ApiModelProperty(value = "标题")
|
private String title;
|
/**
|
* 排序 数字越大权重越大
|
*/
|
@ApiModelProperty(value = "排序 数字越大 权重越大")
|
private String sort;
|
/**
|
* 是否删除0否1是
|
*/
|
@ApiModelProperty(value = "是否删除0否1是")
|
private Integer isDelete;
|
@ApiModelProperty(value = "答案")
|
private String answer;
|
@ApiModelProperty(value = "插入时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
|
private Date insertTime;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public String getSort() {
|
return sort;
|
}
|
|
public void setSort(String sort) {
|
this.sort = sort;
|
}
|
|
public Integer getIsDelete() {
|
return isDelete;
|
}
|
|
public void setIsDelete(Integer isDelete) {
|
this.isDelete = isDelete;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "UseGuide{" +
|
"id=" + id +
|
", title=" + title +
|
", sort=" + sort +
|
", isDelete=" + isDelete +
|
"}";
|
}
|
}
|