package com.cpop.oam.business.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.experimental.Accessors;


/**
 * TaskWorkOrderRecord对象
 * @author DB
 * @since 2023-11-29 11:32:51
 * @version 1.0.0
 */
@Data
@Accessors(chain = true)
@Schema(description = "任务-工单-记录表")
public class TaskWorkOrderRecordBo {

    /**
     * 任务工单id
     */
    @NotBlank(message = "任务工单id不能为空")
    @Schema(description = "任务工单id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String taskWorkOrderId;

    /**
     * 记录内容
     */
    @NotBlank(message = "记录内容不能为空")
    @Schema(description = "记录内容", requiredMode = Schema.RequiredMode.REQUIRED)
    private String recordText;

    /**
     * 附件地址
     */
    @Schema(description = "附件地址", requiredMode = Schema.RequiredMode.REQUIRED)
    private String attachmentUrl;

}
