设备管理模块方法转换为DTO模式,修复long类型接收雪花ID丢失精度的问题
This commit is contained in:
@@ -15,13 +15,13 @@ namespace Model.Entity.Asset
|
||||
/// <summary>
|
||||
/// 分类名称
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 100)]
|
||||
[SugarColumn(Length = 100, IsNullable = true)]
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分类编码
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50)]
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -37,7 +37,7 @@ namespace Model.Entity.Asset
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 500)]
|
||||
[SugarColumn(Length = 500, IsNullable = true)]
|
||||
public string? Remark { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user