package com.cpop.oam.business.entity;

import com.cpop.core.base.entity.BaseEntity;
import com.cpop.core.base.entity.BaseInsertListener;
import com.cpop.core.base.entity.BaseUpdateListener;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 校区延期表 实体类。
 *
 * @author DB
 * @since 2024-02-20
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Table(value = "cp_oam_clue_put_off", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class, mapperGenerateEnable = false)
public class CluePutOff extends BaseEntity implements Serializable {

    /**
     * 主键
     */
    @Id
    private String id;

    /**
     * 线索id
     */
    private String clueId;

    /**
     * 延期原因
     */
    private String putOffReason;

    /**
     * 延期文件路径
     */
    private String putOffFileUrl;

    /**
     * 延期到期日期
     */
    private LocalDate putOffDate;

    /**
     * 审核状态(0:待审核,1:审核通过,2:审核不通过)
     */
    private Integer auditStatus;

    /**
     * 延迟员工id
     */
    private String putOffStaffId;

    /**
     * 审核员工id
     */
    private String auditStaffId;

    /**
     * 是否删除(0否1是)
     */
    @Column(isLogicDelete = true)
    private Boolean isDelete;

}
