package com.persagy.meiku.models.pic

import com.persagy.service.models.SBaseEntity
import io.swagger.v3.oas.annotations.media.Schema
import java.io.Serializable
import javax.persistence.Column
import javax.persistence.Id
import javax.persistence.Table

/**
 * 图片实体
 *
 * @author  wx
 */
@Schema(description = "图片实体")
@Table(name = "labsl_meiku.picture")
open class Picture : SBaseEntity(), Serializable {

    private val serialVersionUID = 1L
    /** id */
    @Schema(description = "id")
    @Id
    @Column(name = "id")
    var id: String? = null

    /** 图片 */
    @Schema(description = "图片")
    @Column(name = "pic")
    var pic: ByteArray? = null


}