package com.ycl.entity.common;
|
|
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.Data;
|
import lombok.EqualsAndHashCode;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 类说明
|
* </p>
|
*
|
* @author mg
|
* @since 2022-09-29
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@TableName("ums_image_resources")
|
@ApiModel(value = "图片资源表")
|
public class ImageResources implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
/**
|
* id
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@ApiModelProperty(value = "id",dataType = "Integer")
|
private Integer id;
|
/**
|
* 图片类型
|
*/
|
@TableField("type")
|
@ApiModelProperty(value = "图片类型",dataType = "String")
|
private String type;
|
/**
|
* 路径
|
*/
|
@TableField("url")
|
@ApiModelProperty(value = "路径",dataType = "String")
|
private String url;
|
/**
|
* 创建人
|
*/
|
@TableField("create_user")
|
@ApiModelProperty(value = "创建人",dataType = "Integer")
|
private Integer createUser;
|
/**
|
* 创建时间
|
*/
|
@TableField("create_time")
|
@ApiModelProperty(value = "创建时间",dataType = "Date")
|
private Date createTime;
|
|
}
|