package cn.iocoder.yudao.module.bpm.controller.admin.oa.vo.petition;

import cn.iocoder.yudao.framework.common.pojo.UploadUserFile;
import cn.iocoder.yudao.module.bpm.controller.admin.oa.vo.BpmOABaseRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @author 符溶馨
 */
@Schema(description = "管理后台 - 签呈申请  请求Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BpmOAPetitionRespVO extends BpmOABaseRespVO {

    @Schema(description = "签呈标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "签呈标题不能为空")
    private String title;

    @Schema(description = "申请内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "申请内容不能为空")
    private String content;

    @Schema(description = "所关联的流程")
    private List<AssociationVO> businessInstanceIds;

    @Schema(description = "上传文件")
    private List<UploadUserFile> fileItems;
}
