package com.ruoyi.ibs.grid.domain.dto.virtual;

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

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @Author 吴凯程
 * @Date 2024/10/31
 **/
@Data
@Valid
public class VirtualGridRuleDTO {

    /**
     * 关联类型;个人 企业 商户
     */
    @NotNull(message = "关联类型不能为空")
    @ApiModelProperty(value = "关联类型", notes = "个人 企业 商户")
    private String relateType;
    /**
     * 规则排序
     */
    @NotNull(message = "规则排序不能为空")
    @ApiModelProperty(value = "规则排序", notes = "")
    private Integer ruleOrder;
    /**
     * 规则码值
     */
    @NotNull(message = "规则码值不能为空")
    @ApiModelProperty(value = "规则码值", notes = "")
    private Integer ruleKey;

    @ApiModelProperty(value = "随机或指定柜员号", notes = "")
    private String userName;

    @ApiModelProperty(value = "机构号")
    private String userDeptList;

    @ApiModelProperty(value = "特色网格图层编号")
    private String layerId;
}
