package com.ycl.entity.resources; 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 com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.time.LocalDateTime; /** *

* *

* * @author lyq * @since 2022-11-08 */ @Data @EqualsAndHashCode(callSuper = false) @TableName("ums_image_resources") public class ImageResources implements Serializable { private static final long serialVersionUID = 1L; /** * 主键Id */ @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 所属Id */ @TableField("belong_to_id") private Long belongToId; /** * 图片资源类型 01-上报 02-处置 03 */ @TableField("type") private String type; /** * 图片路径 */ @TableField("url") private String url; @TableField("url1") private String url1; /** * 创建人 */ @TableField("create_user") private Long createUser; /** * 创建时间 */ @TableField("create_time") @JsonFormat(timezone = "GMT", pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; }