package com.cpop.oam.business.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import com.cpop.core.annontation.StringArrayConvert;

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

    /**
     * 任务工单id
     */
    @NotBlank(message = "任务工单id不能为空")
    @ApiModelProperty(value = "任务工单id", required = true)
    private String taskWorkOrderId;

    /**
     * 记录内容
     */
    @NotBlank(message = "记录内容不能为空")
    @ApiModelProperty(value = "记录内容", required = true)
    private String recordText;

    /**
     * 附件地址
     */
    @ApiModelProperty(value = "附件地址", required = true)
    private String attachmentUrl;

}
