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("global_assets")
public class GlobalAsset {

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

    private Long tenantId;

    private Long creatorUserId;

    private String name;

    /** character / scene / prop */
    private String assetType;

    /** personal / team */
    private String libraryType;

    /** comma-separated tags */
    private String tags;

    private String imageTosKey;

    private String imageUrl;

    private String description;

    private Integer isFavorite;

    private Long sourceProjectId;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;
}
