package com.skr.mdm.bean.qo.strategy;

import com.skr.mdm.bean.qo.BaseStrategyQO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author nfq
 * @date 2020/8/24 17:41
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel
public class RailStrategyQO extends BaseStrategyQO {

    private Integer id;

    @NotBlank(message = "策略名称不能为空")
    @ApiModelProperty(value = "策略名称")
    private String strategyName;

    @ApiModelProperty(value = "作用域 (1:个人域 2:工作域 3：个人域和工作域)")
    private Integer actionScope;

    @ApiModelProperty(value = "1: 有围栏策略 0:无围栏策略")
    private Integer rail;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "半径")
    private String radius;

    @ApiModelProperty(value = "自定义范围")
    private String locs;

    @ApiModelProperty(value = "策略信息")
    private List<RailStrategyInfoQO> railStrategyInfoQOList;


}