guang
2023-05-05 566411019444e53ca143298ee490d33cf510e28c
提交 | 用户 | age
9e1c8d 1 package com.hx.other.service.model;
G 2
3 import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
4 import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
5 import com.gitee.sunchenbin.mybatis.actable.annotation.Unique;
6 import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
7 import lombok.Data;
8
9 /**
10  * sql查询模板
11  * @Author: cmg
12  * @Date: 2023/4/23 10:24
13  */
14 @Data
15 @Table(name = "sql_query_temp")
16 public class SqlQueryTemp extends BaseEntity{
17
18     @Column(comment = "查询内容", type = MySqlTypeConstant.VARCHAR, isNull = false)
19     private String content;
20
21     @Column(comment = "提取的sql语句", length = 1000, type = MySqlTypeConstant.VARCHAR, isNull = false)
22     private String sqlStr;
23
24     @Column(comment = "是否启用", length = 2, type = MySqlTypeConstant.TINYINT)
25     private Integer isUp = BaseEntity.YES;
26 }