:sparkles:代码生成新增记录日志配置

This commit is contained in:
不做码农
2023-12-07 21:31:17 +08:00
parent ae4bb658fd
commit 9a93282ce7
7 changed files with 16 additions and 13 deletions
+2 -1
View File
@@ -54,7 +54,8 @@ namespace ZR.CodeGenerator
ShowBtnImport = dto.GenTable.Options.CheckedBtn.Any(f => f == 8),
ViewFileName = dto.GenTable.BusinessName.FirstUpperCase(),
OperBtnStyle = dto.GenTable.Options.OperBtnStyle,
UseSnowflakeId = dto.GenTable.Options.UseSnowflakeId
UseSnowflakeId = dto.GenTable.Options.UseSnowflakeId,
EnableLog = dto.GenTable.Options.EnableLog
};
var columns = dto.GenTable.Columns;
+1
View File
@@ -78,5 +78,6 @@ namespace ZR.CodeGenerator.Model
/// 是否使用雪花id
/// </summary>
public bool UseSnowflakeId { get; set; }
public bool EnableLog { get; set; }
}
}