package com.cool.store.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import javax.persistence.*;

@Table(name = "zxjp_close_store_audit_record")
@Data@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CloseStoreAuditRecordDO {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 闭店申请ID
     */
    @Column(name = "close_store_id")
    private Long closeStoreId;

    /**
     * 记录类型：1-申请提交，2-审批操作
     */
    @Column(name = "record_type")
    private Integer recordType;

    /**
     * 备注
     */
    @Column(name = "action_remark")
    private String actionRemark;

    /**
     * 实际处理人
     */
    @Column(name = "handler_user_id")
    private String handlerUserId;

    /**
     * 实际处理人名称
     */
    @Column(name = "handler_user_name")
    private String handlerUserName;

    /**
     * 处理人集合
     */
    @Column(name = "handler_user_ids")
    private String handlerUserIds;

    /**
     * 收到任务时间
     */
    @Column(name = "receive_task_time")
    private Date receiveTaskTime;

    /**
     * 完成任务时间
     */
    @Column(name = "finish_task_time")
    private Date finishTaskTime;

    /**
     * 审核状态 0待处理,1通过,2拒绝
     */
    @Column(name = "audit_status")
    private Integer auditStatus;

    /**
     * 删除标识
     */
    private Integer deleted;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @Column(name = "updated_time")
    private Date updatedTime;


}