package com.ruoyi.ibs.task.domain.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 工作清单记录对象 work_list_record
 * 
 * @author ruoyi
 * @date 2025-10-11
 */
@Data
@TableName("work_record")
public class WorkRecord implements Serializable {

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

    /** 岗位id */
    @ApiModelProperty(value = "岗位id", notes = "")
    private String postId;

    /** 柜员号 */
    @ApiModelProperty(value = "柜员号", notes = "")
    private String userName;

    /** 柜员姓名 */
    @ApiModelProperty(value = "柜员姓名", notes = "")
    private String nickName;

    /** 工作清单模板表id，用于关联查询 */
    @ApiModelProperty(value = "工作清单模板表id", notes = "")
    private Long templateId;

    /** 开始时间 */
    @ApiModelProperty(value = "开始时间", notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @ApiModelProperty(value = "结束时间", notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 状态 0未完成 1已完成 2部分完成 */
    @ApiModelProperty(value = "状态", notes = "")
    private String status;

    /** 备注 */
    private String remark;

    /** 更新时间 */
    @ApiModelProperty(value = "更新时间", notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 更新人 */
    @ApiModelProperty(value = "更新人", notes = "")
    private String updateBy;

    /** 是否为预警类型 0否 1是 */
    @ApiModelProperty(value = "是否为预警类型", notes = "")
    private Integer isAlter;

    /** 预警类型 */
    @ApiModelProperty(value = "预警类型", notes = "")
    private String alterType;

    /** 预警信息 */
    @ApiModelProperty(value = "预警信息", notes = "")
    private String alterDetail;

    /** 客户号 */
    @ApiModelProperty(value = "客户号", notes = "")
    private String custId;

    /** 客户名 */
    @ApiModelProperty(value = "客户名", notes = "")
    private String custName;

    /** 频率类型 */
    @ApiModelProperty(value = "频率类型", notes = "")
    private String frequencyType;

    /** 是否逾期 0否 1是 */
    @ApiModelProperty(value = "是否逾期", notes = "")
    private Integer isOverdue;

    /** 当前承接部门ID，仅转发到网点时使用 */
    @ApiModelProperty(value = "当前承接部门ID", notes = "")
    private Long deptId;

}
