channel_list中status添加默认值0

This commit is contained in:
maqiao 2024-11-22 18:16:15 +08:00
parent b0cad62370
commit fe8e061049
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ namespace DM_Weight.Models
/// 默认值: 1
///</summary>
[SugarColumn(ColumnName = "state")]
public int? State { get; set; }
public int? State { get; set; }=0;
[SugarColumn(IsIgnore = true)]
public bool IsSelected { get; set; }