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

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

    /**
     * 系统名称
     */
    @Column(name = "system_name")
    private String systemName;

    /**
     * 系统code
     */
    @Column(name = "system_code")
    private String systemCode;

    /**
     * 账号分类，0-IT账号，1-外卖账号
     */
    @Column(name = "account_type")
    private Integer accountType;

    /**
     * 状态：1-使用中, 2-已关闭, 3-关闭中
     */
    @Column(name = "status")
    private Integer status;
    
    /**
     * 关闭类型，0直接关闭，1申请关闭
     */
    @Column(name = "close_type")
    private Integer closeType;

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

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


}