package com.backendsys.modules.crt.entity;

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

@Data
@TableName("crt_lora_style")
public class CrtLoraStyle {

    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField(exist = false)
    private Long user_id;
    private Long category_id;
    @TableField(exist = false)
    private String category_name;
    private String name;                   // 风格名称
    private String thumb;                  // 风格缩略图
    private String lora_style_name;        // 风格LoRA名称
    private String lora_style_path;        // 风格LoRA路径

    @TableField(exist = false)
    private Integer is_collect;            // 收藏状态 (-1取消收藏, 1加入收藏)

    private Integer sort;                  // 排序
}
