package com.yimeng.okr.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.yimeng.okr.enums.KrStatus;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("kr_progress_log")
public class KrProgressLog {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long krId;
    private Double oldValue;
    private Double newValue;
    private KrStatus oldStatus;
    private KrStatus newStatus;
    private String remark;
    private Long updatedBy;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
}
