123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- package com.fdkk.sxz.entity.custuom;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import lombok.Data;
- import com.fdkk.sxz.entity.BaseEntity;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableName;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import java.util.Date;
- /**
- * @description: 定制家具——组件 Model
- * @author: Xiewj
- * @date: 2021-09-01 14:15:52
- */
- @Data
- @TableName("tb_custom_component")
- @ApiModel(value = "定制家具——组件", description = "CustomComponentEntity")
- public class CustomComponentEntity extends BaseEntity {
- private static final long serialVersionUID = 1630476952756L;
- /**
- * 名称
- */
- @TableField("name")
- @ApiModelProperty(value = "名称", name = "name")
- private String name;
- /**
- * 用户id
- */
- @TableField("user_id")
- @ApiModelProperty(value = "用户ID", name = "userId")
- private Long userId;
- @TableField("file_id")
- @ApiModelProperty(value = "文件名称", name = "fileId")
- private String fileId;
- /**
- * 默认宽度,单位是毫米
- */
- @TableField("width")
- @ApiModelProperty(value = "默认宽度,单位是毫米", name = "width")
- private Integer width;
- /**
- * 默认长度,单位是毫米
- */
- @TableField("height")
- @ApiModelProperty(value = "默认长度,单位是毫米", name = "height")
- private Integer height;
- /**
- * 默认深度,单位是毫米
- */
- @TableField("depth")
- @ApiModelProperty(value = "默认深度,单位是毫米", name = "depth")
- private Integer depth;
- /**
- * 缩略图
- */
- @TableField("thumbnailSrc")
- @ApiModelProperty(value = "缩略图", name = "thumbnailSrc")
- private String thumbnailSrc;
- /**
- * 色系
- */
- @TableField("colorTypeId")
- @ApiModelProperty(value = "色系", name = "colorTypeId")
- private Integer colorTypeId;
- /**
- * 风格
- */
- @TableField("styleId")
- @ApiModelProperty(value = "风格", name = "styleId")
- private Integer styleId;
- /**
- * 所属目录
- */
- @TableField("componentTypeId")
- @ApiModelProperty(value = "所属目录", name = "componentTypeId")
- private Long componentTypeId;
- /**
- * 模型Id
- */
- @TableField("modelId")
- @ApiModelProperty(value = "模型Id", name = "modelId")
- private Long modelId;
- /**
- * 模型url
- */
- @TableField("template")
- @ApiModelProperty(value = "模型url", name = "template")
- private String template;
- @TableField( "x")
- private Integer x;
- @TableField( "y")
- private Integer y;
- @TableField( "z")
- private Integer z;
- @TableField( "is_show")
- @ApiModelProperty(value = "0不显示,1显示", name = "isShow")
- private Integer isShow;
- @TableField( "examine")
- @ApiModelProperty(value = "审核,0审核中,1审核通过", name = "depth")
- private Integer examine;
- @TableField( "examine_time")
- @ApiModelProperty(value = "审核时间", name = "depth")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- private Date examineTime;
- }
|