package com.zt.plat.module.base.controller.admin.processinginfomation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 工艺信息新增/修改 Request VO")
@Data
public class ProcessingInfomationSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16240")
    private Long id;

    @Schema(description = "父级ID", example = "16823")
    private Long parentId;

    @Schema(description = "工艺编码-唯一业务键", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "工艺编码-唯一业务键不能为空")
    private String code;

    @Schema(description = "工艺名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "工艺名称不能为空")
    private String name;

    @Schema(description = "工艺类型值")
    private String typeValue;

    @Schema(description = "状态值-工艺状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "状态值-工艺状态不能为空")
    private String statusValue;

    @Schema(description = "工艺描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "工艺描述不能为空")
    private String description;

    @Schema(description = "生效日期")
    private LocalDateTime effectiveDate;

}