package com.wansenai.entities.shop;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bas_shop")
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "店铺基础信息表")
public class BasShop implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "店铺编码")
    private String code;

    @Schema(description = "店铺名称")
    private String name;

    @Schema(description = "渠道")
    private String channel;

    @Schema(description = "类型")
    private String type;

    @Schema(description = "地址ID")
    private Long addressId;

    @Schema(description = "价格类型")
    private String priceType;

    @Schema(description = "自定义字段1")
    @TableField(value = "field_1")
    private String field1;

    @Schema(description = "自定义字段2")
    @TableField(value = "field_2")
    private String field2;

    @Schema(description = "自定义字段3")
    @TableField(value = "field_3")
    private String field3;

    @Schema(description = "自定义字段4")
    @TableField(value = "field_4")
    private String field4;

    @Schema(description = "自定义字段5")
    @TableField(value = "field_5")
    private String field5;

    @Schema(description = "自定义字段6")
    @TableField(value = "field_6")
    private String field6;

    @Schema(description = "自定义字段7")
    @TableField(value = "field_7")
    private String field7;

    @Schema(description = "自定义字段8")
    @TableField(value = "field_8")
    private String field8;

    @Schema(description = "自定义字段9")
    @TableField(value = "field_9")
    private String field9;

    @Schema(description = "自定义字段10")
    @TableField(value = "field_10")
    private String field10;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "更新人")
    private String updateBy;

    @Schema(description = "备注")
    private String remark;
}
