namespace NetAdmin.Domain.Dto.Sys.Doc.Content;

/// <summary>
///     请求：设置文档内容启用状态
/// </summary>
public sealed record SetDocContentEnabledReq : Sys_DocContent
{
    /// <inheritdoc cref="IFieldEnabled.Enabled" />
    [JsonIgnore(Condition = JsonIgnoreCondition.Never)]
    public override bool Enabled { get; init; }

    /// <inheritdoc cref="IFieldVersion.Version" />
    [JsonIgnore(Condition = JsonIgnoreCondition.Never)]
    public override long Version { get; init; }
}