package com.microservices.pms.product.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.microservices.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 项目管理-产品需求操作记录对象 pms_product_req_operation_record
 *
 * @author otto
 * @date 2024-11-29
 */
@Data
public class PmsProductReqOperationRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 操作记录ID
     */
    private Long id;

    /**
     * 操作人用户名
     */
    @ApiModelProperty(value = "操作人用户名")
    private String operator;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    private String type;

    /**
     * 操作
     */
    @ApiModelProperty(value = "操作")
    private String operation;

    /**
     * 操作时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "操作时间")
    private Date operatingTime;

    /**
     * 关联需求ID
     */
    @ApiModelProperty(value = "关联需求ID")
    private Long productRequirementId;

    /**
     * 操作内容
     */
    @ApiModelProperty(value = "操作内容")
    private String content;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String reservedField1;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String reservedField2;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String reservedField3;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String reservedField4;
}
