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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author nfq
 * @date 2020/9/4 14:19
 */
@Data
@ApiModel(value = "功能策略下发对象")
public class RailStrategySO {

    private Integer id;

    @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<RailStrategyInfoSO> railStrategyInfoSOList;

    @ApiModelProperty(value = "下发时间")
    private Long sendTime;

    @ApiModelProperty(value = "操作时间")
    private Long operateTime;

    @ApiModelProperty(value = "策略全局类型（1：公司全局 2：部门全局 3：个人）")
    private Integer globalType;

}