package com.hx.other.service.model;
|
|
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
|
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
|
import com.gitee.sunchenbin.mybatis.actable.annotation.Unique;
|
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
|
import lombok.Data;
|
|
/**
|
* sql查询模板
|
* @Author: cmg
|
* @Date: 2023/4/23 10:24
|
*/
|
@Data
|
@Table(name = "sql_query_temp")
|
public class SqlQueryTemp extends BaseEntity{
|
|
@Column(comment = "查询内容", type = MySqlTypeConstant.VARCHAR, isNull = false)
|
private String content;
|
|
@Column(comment = "提取的sql语句", length = 1000, type = MySqlTypeConstant.VARCHAR, isNull = false)
|
private String sqlStr;
|
|
@Column(comment = "是否启用", length = 2, type = MySqlTypeConstant.TINYINT)
|
private Integer isUp = BaseEntity.YES;
|
}
|