package com.kcim.dao.model.dto;

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

import javax.validation.constraints.NotBlank;

@ApiModel("保存角色")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleSaveDTO {

    @NotBlank(message = "角色名称不能为空")
    @ApiModelProperty(name = "roleName",value = "角色名称")
    private String roleName;

    @ApiModelProperty(name = "remark",value = "描述")
    private String remark;
}
