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

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

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value="修改功能状态", description="修改功能状态")
public class FeatureStatusDTO {

    @NotNull(message = "id不能为空")
    @ApiModelProperty(name = "id", value = "id")
    private Long id;
    @NotNull(message = "状态不能为空")
    @ApiModelProperty(name="status",value = "状态（1：启用，2：停用）")
    private Integer status;
}
