package com.lesingle.creation.dto.department;

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

/**
 * 更新部门 DTO
 */
@Data
@Schema(description = "更新部门请求")
public class UpdateDepartmentDTO {

    @Schema(description = "部门名称")
    private String name;

    @Schema(description = "部门编码")
    private String code;

    @Schema(description = "父部门 ID")
    private Long parentId;

    @Schema(description = "部门描述")
    private String description;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "有效状态：1-有效，2-失效")
    private Integer validState;
}
