package com.yaoai.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("project_assets")
public class ProjectAsset {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private Long projectId;

    private Long tenantId;

    private String name;

    private String originalName;

    /** script / image / reference / audio / other */
    private String assetType;

    private String mimeType;

    private Long fileSize;

    private String tosKey;

    private LocalDateTime createdAt;
}
