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_stage_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CloseStoreStageInfoDO {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

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

    /**
     * 闭店阶段
     */
    @Column(name = "shop_stage")
    private Integer shopStage;

    /**
     * 闭店子阶段
     */
    @Column(name = "shop_sub_stage")
    private Integer shopSubStage;

    /**
     * 店铺阶段状态
     */
    @Column(name = "shop_sub_stage_status")
    private Integer shopSubStageStatus;

    /**
     * 当前阶段是否结束 0未结束  1已结束
     */
    @Column(name = "is_terminated")
    private Integer isTerminated;

    /**
     * 预估完成时间
     */
    @Column(name = "plan_complete_time")
    private String planCompleteTime;

    /**
     * 实际完成时间
     */
    @Column(name = "actual_complete_time")
    private String actualCompleteTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * xfsg_shop_audit_info.id
     */
    @Column(name = "audit_id")
    private Long auditId;

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

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

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


}