package com.rj.entity;

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

/**
 * <p>
 * 汽车经销商门店信息表
 * </p>
 *
 * @author 李中华 ,spllzh
 * @since 2025-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dealership")
@Schema(description="汽车经销商门店信息表")
public class Dealership implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键，UUID")
    @TableId("id")
    private String id;

    @Schema(description = "租户ID")
    @TableField("tenant_id")
    private String tenantId;

    @Schema(description = "经销商名称")
    @TableField("dealership_name")
    private String dealershipName;

    @Schema(description = "经销商代码")
    @TableField("dealership_code")
    private String dealershipCode;

    @Schema(description = "剩余时长(小时)")
    @TableField("remaining_hours")
    private BigDecimal remainingHours;

    @Schema(description = "销售人员数量")
    @TableField("sales_count")
    private Integer salesCount;

    @Schema(description = "人均录音条数")
    @TableField("avg_recordings")
    private Integer avgRecordings;

    @Schema(description = "平均录音时长(分钟)")
    @TableField("avg_recording_duration")
    private BigDecimal avgRecordingDuration;

    @Schema(description = "地区")
    @TableField("region")
    private String region;

    @Schema(description = "分组")
    @TableField("group_name")
    private String groupName;

    @Schema(description = "语言")
    @TableField("language")
    private String language;

    @Schema(description = "经销商类型")
    @TableField("dealership_type")
    private String dealershipType;

    @Schema(description = "状态(1正常 0停用)")
    @TableField("status")
    private Boolean status;

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

    @Schema(description = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
