package com.xindazhou.vehicle.dal.dataobject.gallery;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xindazhou.framework.mybatis.core.dataobject.BaseDO;
import lombok.*;

/**
 * 车辆图库 DO
 *
 * @author xindazhou
 */
@TableName(value = "vehicle_gallery", autoResultMap = true)
@KeySequence("vehicle_gallery_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VehicleGalleryDO extends BaseDO {

    /**
     * ID
     */
    @TableId
    private Long id;

    /**
     * 分类
     */
    private String category;

    /**
     * 车型号
     */
    private String model;

    /**
     * 图片数量
     */
    private Integer imageCount;

    /**
     * 更新时间（用于查询）
     */
    private java.time.LocalDateTime updateTime;

}
