完善Dockerfile,更改数据库配置文件,日志记录增加Id主键

This commit is contained in:
2023-11-10 16:35:37 +08:00
parent b7ebad03d0
commit 43c9d3564b
4 changed files with 11 additions and 1 deletions
+4
View File
@@ -3,6 +3,10 @@
[SugarTable("sys_notice_log")]
public class SysNoticeLog
{
[SugarColumn(IsPrimaryKey = true)]
[JsonConverter(typeof(ValueToStringConverter))]
public long Id { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
public long NoticeId { get; set; }