/* 
 * 作者：钟勋 (e-mail:zhongxunking@163.com)
 */

/*
 * 修订记录:
 * @author 钟勋 2018-12-12 20:39 创建
 */
package org.antframework.configcenter.facade.order;

import lombok.Getter;
import lombok.Setter;
import org.antframework.common.util.facade.AbstractOrder;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * 回滚配置value-order
 */
@Getter
@Setter
public class RevertPropertyValuesOrder extends AbstractOrder {
    // 应用id
    @NotBlank
    private String appId;
    // 环境id
    @NotBlank
    private String profileId;
    // 回滚到的目标发布版本
    @NotNull
    private Long releaseVersion;
}

@@ -242,24 +242,88 @@
 tractOrder;%0A
+import org.antframework.configcenter.facade.vo.ReleaseConstant;%0A
 import org.h
@@ -364,16 +364,57 @@
 Blank;%0A%0A
+import javax.validation.constraints.Min;%0A
 import j
@@ -683,16 +683,57 @@
 %E7%9A%84%E7%9B%AE%E6%A0%87%E5%8F%91%E5%B8%83%E7%89%88%E6%9C%AC%0A
+    @Min(ReleaseConstant.ORIGIN_VERSION)%0A
     @Not

回滚配置value的版本至少为0