修复SqlSugarSetup类名修改后,nlog不打印日志问题,日期时间转换类增加格式,暂存区块和字段关联

This commit is contained in:
2023-10-11 16:58:48 +08:00
parent e6dae7d1e2
commit 28c53b71ce
14 changed files with 118 additions and 82 deletions
+13
View File
@@ -0,0 +1,13 @@
namespace ZR.ServiceCore.Model;
[SugarTable("sys_block")]
[Tenant("0")]
public class SysBlock
{
[SugarColumn(IsPrimaryKey = true)]
[JsonConverter(typeof(ValueToStringConverter))]
public long Id { get; set; }
public string Code { get; set; }
public string Name { get; set; }
}
-2
View File
@@ -13,6 +13,4 @@ public class SysField
public string FullName { get; set; }
public string FieldType { get; set; }
public string IsClass { get; set; }
}
+11
View File
@@ -0,0 +1,11 @@
namespace ZR.ServiceCore.Model;
[SugarTable("sys_field_block")]
[Tenant("0")]
public class SysFieldBlock
{
[JsonConverter(typeof(ValueToStringConverter))]
public long BlockId { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
public long FieldId { get; set; }
}