package com.kxs.product.api.model;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 客小爽品牌表(KxsBrand)表实体类
 *
 * @author 系统
 * @since 2023-12-20 10:09:35
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsBrand extends Model<KxsBrand> implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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


    /**
     * 新增时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "新增时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;


    /**
     * 删除标记，0未删除，1已删除
     */
    @Schema(description = "删除标记，0未删除，1已删除")
    private String delFlag;


    /**
     * 版本
     */
    @Schema(description = "版本")
    private Integer version;


    /**
     * 品牌名称
     */
    @Schema(description = "品牌名称")
    private String name;


    /**
     * 跳转链接
     */
    @Schema(description = "跳转链接")
    private String linkUrl;


    /**
     * 封面图片
     */
    @Schema(description = "封面图片")
    private String cover;


    /**
     * 类型 0电签 1大pos
     */
    @Schema(description = "类型 0电签 1大pos")
    private Integer brandType;


    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;

    /**
     * 激活金额
     */
    @Schema(description = "激活金额")
    private BigDecimal actAmount;

    /**
     * 流量费
     */
    @Schema(description = "流量费")
    private BigDecimal fluxAmount;

    /**
     * 流量费分佣
     */
    @Schema(description = "流量费分佣")
    private BigDecimal fluxProfit;


    /**
     * 默认押金
     */
    @Schema(description = "默认押金")
    private BigDecimal defaultPledge;


    /**
     * 品牌价格
     */
    @Schema(description = "品牌价格")
    private BigDecimal posPrice;

    /**
     * 每箱机具数
     */
    @Schema(description = "每箱机具数")
    private BigDecimal countOfBox;





}

