package com.yimeng.okr.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("period_participant")
public class PeriodParticipant {

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

    private Long periodId;
    private Long userId;
    private String status;
    private String reason;
    private Long operatedBy;
    private LocalDateTime exemptedAt;

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

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}
