package com.sonic.frog.domain.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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * <p>
 * 形象风格图片表
 * </p>
 *
 * @author mzc
 * @since 2024-11-28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("image_style_dict")
@ApiModel(value = "ImageStylePic对象", description = "形象风格图片表")
public class ImageStyleDict {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @TableField("code")
    @ApiModelProperty(value = "风格code")
    private String code;

    @TableField("name")
    @ApiModelProperty(value = "风格名称")
    private String name;

    @TableField("url")
    @ApiModelProperty(value = "风格对应的图片url")
    private String url;

    @TableField("prompt")
    @ApiModelProperty(value = "风格对应的图片prompt")
    private String prompt;

    @TableField("sort")
    @ApiModelProperty(value = "排序")
    private Integer sort;

    @TableField("is_delete")
    @ApiModelProperty(value = "是否删除（1.是，0.否）")
    private Integer isDelete;

    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
}
