CustomComponentEntity.java 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. package com.fdkk.sxz.entity.custuom;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import lombok.Data;
  4. import com.fdkk.sxz.entity.BaseEntity;
  5. import com.baomidou.mybatisplus.annotation.TableId;
  6. import com.baomidou.mybatisplus.annotation.TableField;
  7. import com.baomidou.mybatisplus.annotation.IdType;
  8. import com.baomidou.mybatisplus.annotation.TableName;
  9. import io.swagger.annotations.ApiModel;
  10. import io.swagger.annotations.ApiModelProperty;
  11. import java.util.Date;
  12. /**
  13. * @description: 定制家具——组件 Model
  14. * @author: Xiewj
  15. * @date: 2021-09-01 14:15:52
  16. */
  17. @Data
  18. @TableName("tb_custom_component")
  19. @ApiModel(value = "定制家具——组件", description = "CustomComponentEntity")
  20. public class CustomComponentEntity extends BaseEntity {
  21. private static final long serialVersionUID = 1630476952756L;
  22. /**
  23. * 名称
  24. */
  25. @TableField("name")
  26. @ApiModelProperty(value = "名称", name = "name")
  27. private String name;
  28. /**
  29. * 用户id
  30. */
  31. @TableField("user_id")
  32. @ApiModelProperty(value = "用户ID", name = "userId")
  33. private Long userId;
  34. @TableField("file_id")
  35. @ApiModelProperty(value = "文件名称", name = "fileId")
  36. private String fileId;
  37. /**
  38. * 默认宽度,单位是毫米
  39. */
  40. @TableField("width")
  41. @ApiModelProperty(value = "默认宽度,单位是毫米", name = "width")
  42. private Integer width;
  43. /**
  44. * 默认长度,单位是毫米
  45. */
  46. @TableField("height")
  47. @ApiModelProperty(value = "默认长度,单位是毫米", name = "height")
  48. private Integer height;
  49. /**
  50. * 默认深度,单位是毫米
  51. */
  52. @TableField("depth")
  53. @ApiModelProperty(value = "默认深度,单位是毫米", name = "depth")
  54. private Integer depth;
  55. /**
  56. * 缩略图
  57. */
  58. @TableField("thumbnailSrc")
  59. @ApiModelProperty(value = "缩略图", name = "thumbnailSrc")
  60. private String thumbnailSrc;
  61. /**
  62. * 色系
  63. */
  64. @TableField("colorTypeId")
  65. @ApiModelProperty(value = "色系", name = "colorTypeId")
  66. private Integer colorTypeId;
  67. /**
  68. * 风格
  69. */
  70. @TableField("styleId")
  71. @ApiModelProperty(value = "风格", name = "styleId")
  72. private Integer styleId;
  73. /**
  74. * 所属目录
  75. */
  76. @TableField("componentTypeId")
  77. @ApiModelProperty(value = "所属目录", name = "componentTypeId")
  78. private Long componentTypeId;
  79. /**
  80. * 模型Id
  81. */
  82. @TableField("modelId")
  83. @ApiModelProperty(value = "模型Id", name = "modelId")
  84. private Long modelId;
  85. /**
  86. * 模型url
  87. */
  88. @TableField("template")
  89. @ApiModelProperty(value = "模型url", name = "template")
  90. private String template;
  91. @TableField( "x")
  92. private Integer x;
  93. @TableField( "y")
  94. private Integer y;
  95. @TableField( "z")
  96. private Integer z;
  97. @TableField( "is_show")
  98. @ApiModelProperty(value = "0不显示,1显示", name = "isShow")
  99. private Integer isShow;
  100. @TableField( "examine")
  101. @ApiModelProperty(value = "审核,0审核中,1审核通过", name = "depth")
  102. private Integer examine;
  103. @TableField( "examine_time")
  104. @ApiModelProperty(value = "审核时间", name = "depth")
  105. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  106. private Date examineTime;
  107. }