mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 20:49:00 +08:00
✨ 添加新特性。工作流模块
This commit is contained in:
1 parent
436ae2b7ed
commit
b76e1c3e3f
35 files changed
+1385
-523
No files matched your search
@@ -3,6 +3,7 @@ package ${package}.${moduleName}.entity;
|
||||
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 lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
#if(${hasBigDecimal})
|
||||
@@ -28,7 +29,7 @@ public class ${className} extends Model<${className}> {
|
||||
* $column.comments
|
||||
*/
|
||||
#if($column.columnName == $pk.columnName)
|
||||
@TableId
|
||||
@TableId(type = IdType.AUTO)
|
||||
#end
|
||||
private $column.attrType $column.lowerAttrName;
|
||||
#end
|
||||
|
||||
Reference in new issue
Block a user