package cn.iocoder.yudao.module.system.controller.admin.biz.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Author: jinyd
 * @CreateTime: 2024/9/6  14:55
 * @Description:
 * @Version: 4.0
 */

@Schema(description = "管理后台 - 集团新增/修改 Request VO")
@Data
public class GroupsSaveReqVO {

    @Schema(description = "集团编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30106")
    private Long id;

    @Schema(description = "集团名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "集团名称不能为空")
    private String name;

    @Schema(description = "集团状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "集团状态（0正常 1停用）不能为空")
    private Integer status;

}
