package com.ximai.mes.pro.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ximai.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 报工修改记录 pro_feedback_modify_record
 */
@Data
public class ProFeedbackModifyRecord extends BaseEntity {

    @TableId
    private Long id;

    @ApiModelProperty("报工记录ID")
    private Long recordId;

    @ApiModelProperty("报工单编号")
    private String feedbackCode;

    @ApiModelProperty("工单ID")
    private Long workorderId;

    @ApiModelProperty("工单编号")
    private String workorderCode;

    @ApiModelProperty("任务ID")
    private Long taskId;

    @ApiModelProperty("工序名称")
    private String processName;

    @ApiModelProperty("修改前后JSON")
    private String requestBody;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
