package com.yuchen.saas.manage.system.api.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;


@Data
@ApiModel(value = "DeptFrozenParam")
public class DeptFrozenParam {
    @NotNull
    @ApiModelProperty(value = "id")
    private Long id;

    @NotNull
    @Range(min = 0,max = 1)
    @ApiModelProperty(value = "是否冻结:0解冻1冻结")
    private Integer isFrozen;
}
