package com.ruoyi.oa.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * OA 需求视图对象 oa_requirements
 *
 * @author ruoyi
 * @date 2025-06-27
 */
@Data
@ExcelIgnoreUnannotated
public class OaRequirementsVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long requirementId;

    /**
     * 需求标题
     */
    @ExcelProperty(value = "需求标题")
    private String title;

    /**
     * 需求方用户 ID
     */
    @ExcelProperty(value = "需求方用户 ID")
    private Long requesterId;

    /**
     * 负责人用户 ID
     */
    @ExcelProperty(value = "负责人用户 ID")
    private Long ownerId;

    /**
     * 挂接项目 ID，可选
     */
    @ExcelProperty(value = "挂接项目 ID，可选")
    private Long projectId;

    /**
     * 需求描述
     */
    @ExcelProperty(value = "需求描述")
    private String description;

    /**
     * 截止日期（最终时间）
     */
    @ExcelProperty(value = "截止日期", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "最=终时间")
    private Date deadline;

    /**
     * 状态：0=未完成，1=已完成
     */
    @ExcelProperty(value = "状态：0=未完成，1=已完成")
    private Integer status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 附件（路径或 URL），多附件逗号分隔
     */
    @ExcelProperty(value = "附件", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "路=径或,U=RL")
    private String accessory;
    private String requesterNickName;
    private String ownerNickName;
    private String projectName;


}
