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

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

    /**
     * 资料code
     */
    @Column(name = "file_code")
    private String fileCode;

    /**
     * 资料名称
     */
    @Column(name = "file_name")
    private String fileName;

    /**
     * 邮件状态
     */
    @Column(name = "mail_status")
    private Integer mailStatus;

    /**
     * 材料审批状态 1-合格 2-不合格
     */
    @Column(name = "approve_status")
    private Integer approveStatus;
    
    /**
     * 材料状态 0-未上传 1-合格 2-不合格 3-已上传 4-审批中 5-已修改
     */
    @Column(name = "file_status")
    private Integer fileStatus;

    /**
     * 审批意见
     */
    @Column(name = "approve_opinion")
    private String approveOpinion;

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

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

    /**
     * 图片列表
     */
    @Column(name = "urls")
    private String urls;

    /**
     * 是否收到材料 0已收到 1未收到 2已遗失
     */
    @Column(name = "received_file")
    private Integer receivedFile;
}