package com.ruoyi.oa.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设计项目汇报概述业务对象 oa_report_summary
 *
 * @author cpy
 * @date 2025-05-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class OaReportSummaryBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long summaryId;

    /**
     * 汇报标题
     */
    @NotBlank(message = "汇报标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String reportTitle;

    /**
     * 汇报日期
     */
    @NotNull(message = "汇报日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date reportDate;

    /**
     * 汇报人
     */
    @NotBlank(message = "汇报人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String reporter;

    /**
     * 项目id
     */
    @NotNull(message = "项目id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long projectId;

    /**
     * 备注
     */
    private String remark;


    private Long type;

}
