package com.lesingle.modules.biz.contest.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lesingle.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_biz_contest_attachment")
@Schema(description = "活动附件实体")
public class BizContestAttachment extends BaseEntity {

    @Schema(description = "活动ID")
    @TableField("contest_id")
    private Long contestId;

    @Schema(description = "文件名称")
    @TableField("file_name")
    private String fileName;

    @Schema(description = "文件URL")
    @TableField("file_url")
    private String fileUrl;

    @Schema(description = "文件格式")
    private String format;

    @Schema(description = "文件类型")
    @TableField("file_type")
    private String fileType;

    @Schema(description = "文件大小")
    private String size;
}
