123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- package com.fdkk.sxz.vo.request;
- import com.alibaba.fastjson.JSONArray;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.Data;
- import java.util.Date;
- import java.util.List;
- @Data
- public class RequestModelCustomUpload {
- private Long id;
- @ApiModelProperty(value = "modelId 修改时候才会有", name = "modelId")
- private Long modelId;
- @ApiModelProperty(value = "保存时候填的name", name = "name")
- private String name;
- @ApiModelProperty(value = "用户id", name = "userId")
- private Long userId;
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- private Date createTime;
- @ApiModelProperty(value = "成品分类id", name = "customTypeId")
- private Long customTypeId;
- @ApiModelProperty(value = "配件集合", name = "componentSlots")
- private List<Component> componentSlots;
- /**
- * 宽:毫米
- */
- @ApiModelProperty(value = "宽:毫米", name = "width")
- private Integer width;
- /**
- * 长:毫米
- */
- @ApiModelProperty(value = "长:毫米", name = "height")
- private Integer height;
- /**
- * 深度:毫米
- */
- @ApiModelProperty(value = "深度:毫米", name = "depth")
- private Integer depth;
- @Data
- public static class Component {
- private Long id;
- @ApiModelProperty(value = "modelId 修改时候才会有", name = "modelId")
- private Long modelId;
- @ApiModelProperty(value = "保存时候填的name", name = "name")
- private String name;
- @ApiModelProperty(value = "配件分类id", name = "customTypeId")
- private Long customComponentTypeId;
- /**
- * 宽:毫米
- */
- @ApiModelProperty(value = "宽:毫米", name = "width")
- private Integer width;
- /**
- * 长:毫米
- */
- @ApiModelProperty(value = "长:毫米", name = "height")
- private Integer height;
- /**
- * 深度:毫米
- */
- @ApiModelProperty(value = "深度:毫米", name = "depth")
- private Integer depth;
- @ApiModelProperty(value = "配件集合", name = "componentSlots")
- private Origin origin;
- @ApiModelProperty(value = "配件集合", name = "componentSlots")
- private String title;
- }
- @Data
- public static class Origin {
- private Integer x;
- private Integer y;
- private Integer z;
- }
- }
|