package com.cool.store.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@Data
@Table(name = "xfsg_old_shop")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OldShopDO {

    /**
     * 主键ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;

    /**
     * 门店编码
     */
    @Column(name = "shop_code")
    private String shopCode;

    /**
     * 云流水编码
     */
    @Column(name = "yls_shop_code")
    private String ylsShopCode;

    @Column(name = "shop_name")
    private String shopName;

    /**
     * 手机号
     */
    @Column(name = "mobile")
    private String mobile;

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

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