fix 默认值
This commit is contained in:
@@ -41,13 +41,13 @@ public class DeviceGroupEntity : SugarBaseEntity, ITenantId, ISoftDeleted
|
||||
/// 是否可编辑
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "bit", DefaultValue = "1", ColumnDescription = "是否可编辑")]
|
||||
public bool Editable { get; set; }
|
||||
public bool Editable { get; set; } = = true;
|
||||
|
||||
/// <summary>
|
||||
/// 可设置下级
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "bit", DefaultValue = "1")]
|
||||
public bool AbleSetNext { get; set; }
|
||||
public bool AbleSetNext { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
|
||||
Reference in New Issue
Block a user