@@ -24,7 +24,7 @@ public class GoViewPro : EntityTenant
/// 项目状态
/// </summary>
[SugarColumn(ColumnDescription = "项目状态")]
- public GoViewProState State { get; set; } = GoViewProState.UnPublish;
+ public GoViewProStateEnum StateEnum { get; set; } = GoViewProStateEnum.UnPublish;
/// <summary>
/// 预览图片Url
@@ -10,7 +10,7 @@ namespace Admin.NET.Plugin.GoView;
/// GoView 项目状态
[Description("GoView 项目状态")]
-public enum GoViewProState
+public enum GoViewProStateEnum
{
/// 未发布
@@ -61,7 +61,7 @@ public class GoViewProPublishInput
- public GoViewProState State { get; set; }
+ public GoViewProStateEnum StateEnum { get; set; }
}
@@ -24,7 +24,7 @@ public class GoViewProItemOutput
/// 创建时间
@@ -88,7 +88,7 @@ public class GoViewProService : IDynamicApiController
await _goViewProRep.AsUpdateable()
.SetColumns(u => new GoViewPro
- State = input.State
+ StateEnum = input.StateEnum
})
.Where(u => u.Id == input.Id)
.ExecuteCommandAsync();