package com.gxwebsoft.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 步梯费用设置
 *
 * @author xm
 * @since 2026-04-28 16:30:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "ShopSurchargeConfig对象", description = "步梯费用设置")
@TableName("shop_surcharge_config")
public class ShopSurchargeConfig implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

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

    @Schema(description = "价格（元）")
    private BigDecimal price;

    @Schema(description = "类型 0-步梯费 1-其他")
    private Integer type;

    @Schema(description = "状态 0-开启 1-关闭")
    private Integer status;

    @Schema(description = "排序")
    private Integer sortNumber;

    @Schema(description = "租户ID")
    private Integer tenantId;

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

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

    @Schema(description = "修改人")
    private String updater;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;

    @Schema(description = "是否删除 0-未删 1-已删")
    @TableLogic
    private Boolean deleted;

}
