package com.microservices.pms.product.domain.vo;

import com.alibaba.fastjson2.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.microservices.pms.product.domain.PmsProductPlan;
import com.microservices.pms.project.domain.PmsProject;
import com.microservices.system.api.domain.SimpleSysUser;
import com.microservices.system.api.domain.SysFileInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 产品需求对象 pms_product_requirement
 *
 * @author otto
 * @date 2023-10-10
 */
@Data
@ApiModel("需求规格详细数据对象")
public class ProductReqSpecsDetailVo extends ProductReqSpecsDataVo {
    @ApiModelProperty(value = "正文")
    private String content;

    @ApiModelProperty(value = "附件列表")
    private List<SysFileInfo> fileList;

    @ApiModelProperty(value = "关联计划（原项目需求）")
    private JSONObject projectIssue;

    @ApiModelProperty(value = "关联项目")
    private PmsProject project;

    @ApiModelProperty(value = "关联产品计划")
    private PmsProductPlan pmsProductPlan;

    @ApiModelProperty(value = "创建人")
    private SimpleSysUser createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "变更人")
    private SimpleSysUser changeBy;

    @ApiModelProperty(value = "变更")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date changeTime;


    @ApiModelProperty(value = "评审时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reviewTime;

    @ApiModelProperty(value = "评审人")
    private String reviewUser;

    @ApiModelProperty(value = "评审意见")
    private String reviewContent;


}
