您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

product.data.ts 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. export interface ShapeProperty {
  2. id: number;
  3. createTime: string;
  4. spuCode: string;
  5. categoryId: number;
  6. createId: number;
  7. categoryName: string;
  8. createName: string;
  9. oneImgUrl: string;
  10. specimenNumber: number;
  11. dictDetails: string[];
  12. }
  13. export interface Shape {
  14. id: number;
  15. prototypeId: number;
  16. sdParamId: number;
  17. styleProductId: number;
  18. product: Product;
  19. sdParamEmplate: SdParamEmplate
  20. }
  21. export interface ProductBase {
  22. id?: number;
  23. productName: string;
  24. productNameEn?:string;
  25. }
  26. export interface ProductClassify {
  27. id: number;
  28. name?: string;
  29. }
  30. export interface ProductImage {
  31. imgId: number;
  32. imgUrl:string;
  33. }
  34. export interface ProductCategory {
  35. id: number;
  36. categoryName: string;
  37. categoryNameEn: string;
  38. }
  39. export interface SdParamEmplate {
  40. id: number;
  41. createTime: string;
  42. prompt: string;
  43. negativePrompt: string;
  44. type: number;
  45. maskBlur: number;
  46. inpaintFullResPadding: number;
  47. step?: number;
  48. styles: string;
  49. imageCfgScale: number;
  50. cfgScale: number;
  51. module: string;
  52. model: string;
  53. inpaintingFill: number;
  54. denoisingStrength: string;
  55. chinaName: string;
  56. isDelete: number;
  57. niter: number;
  58. }
  59. export interface SkuAttr {
  60. attrName: string;
  61. attrValName: string;
  62. }
  63. export interface ProductSku {
  64. id: number;
  65. spuCode: string;
  66. skuCode: string;
  67. skuImgId: number;
  68. weight: number;
  69. costPrice: number;
  70. homeFreight: number;
  71. packCost: number;
  72. minRetailPrice: number;
  73. length: number;
  74. width: number;
  75. height: number;
  76. rawSku: string;
  77. skuStatus: number;
  78. attrs: SkuAttr[];
  79. skuImgUrl: string;
  80. }
  81. export interface Product {
  82. id: number;
  83. spuCode: string;
  84. categoryId?: number;
  85. classifyId: number;
  86. sourceType: number;
  87. productStatus: number;
  88. creatorId: number;
  89. createTime: string;
  90. base: ProductBase;
  91. category?: ProductCategory;
  92. classify: ProductClassify;
  93. attrs: string[];
  94. productImgs: ProductImage[];
  95. productSkus: ProductSku[];
  96. creatorName: string;
  97. }