
package com.czg.account.dto;

import java.io.Serializable;
import java.time.LocalDateTime;
import com.alibaba.fastjson2.annotation.JSONField;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author zs
 * @since 2025-02-19
 */
@Data

@NoArgsConstructor
@AllArgsConstructor
public class ShopTableCodeDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 店铺id
     */
    private Long shopId;

    /**
     * 桌码
     */
    private String tableCode;

    /**
     * 状态 待绑定0 已绑定1
     */
    private Integer state;

    /**
     * 创建时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 绑定时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime bindTime;

}
