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("video_management")
@Schema(description="视频管理表")
public class VideoManagement 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("video_name")
    private String videoName;

    @Schema(description = "所属门店ID")
    @TableField("dealership_id")
    private String dealershipId;

    @Schema(description = "所属门店名称")
    @TableField("dealership_name")
    private String dealershipName;

    @Schema(description = "所属销售ID")
    @TableField("sales_id")
    private String salesId;

    @Schema(description = "所属销售名称")
    @TableField("sales_name")
    private String salesName;

    @Schema(description = "客户ID")
    @TableField("customer_id")
    private String customerId;

    @Schema(description = "客户姓名")
    @TableField("customer_name")
    private String customerName;

    @Schema(description = "客户手机号")
    @TableField("customer_phone")
    private String customerPhone;

    @Schema(description = "视频时长(分钟)")
    @TableField("duration")
    private BigDecimal duration;

    @Schema(description = "录制时间")
    @TableField("record_time")
    private LocalDateTime recordTime;

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

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


}
