export class SpuAttrDim {
  public static SpuAttrEn = class {
    public static color = "color"
    public static size = "size"
    public static material = "matrial"
    public static memory = "memory"
    public static batterCapacity = "batterCapacity"
    public static power = "power"
    public static pattern = "pattern"
    public static smell = "smell"
    public static style = "style"
    public static phoneModel = "phoneModel"
    public static quantity = "quantity"
  }

  public static SpuAttrMap = {
    [SpuAttrDim.SpuAttrEn.color]: '颜色',
    [SpuAttrDim.SpuAttrEn.size]: '大小',
    [SpuAttrDim.SpuAttrEn.material]: '材质',
    [SpuAttrDim.SpuAttrEn.memory]: '内存',
    [SpuAttrDim.SpuAttrEn.batterCapacity]: '电池容量',
    [SpuAttrDim.SpuAttrEn.power]: '功率',
    [SpuAttrDim.SpuAttrEn.pattern]: '图案',
    [SpuAttrDim.SpuAttrEn.smell]: '气味',
    [SpuAttrDim.SpuAttrEn.style]: '款式',
    [SpuAttrDim.SpuAttrEn.phoneModel]: '手机型号',
    [SpuAttrDim.SpuAttrEn.quantity]: '数量',
  }


  public static SpuQualificationsEn = class {
    public static certification = "certification"
    public static cube = "cube"
    public static size = "size"
    public static specification = "specification"
    public static tag = "tag"
  }

  public static SpuQualificationsMap = {
    [SpuAttrDim.SpuQualificationsEn.certification]: '产品资质文件',
    [SpuAttrDim.SpuQualificationsEn.cube]: '实物六面图',
    [SpuAttrDim.SpuQualificationsEn.size]: '产品尺寸图',
    [SpuAttrDim.SpuQualificationsEn.specification]: '产品使用说明书',
    [SpuAttrDim.SpuQualificationsEn.tag]: '产品标签',
  }

  public static SpuCubeEn = class {
    public static front = "front"
    public static back = "back"
    public static left = "left"
    public static right = "right"
    public static top = "top"
    public static bottom = "bottom"
  }

  public static SpuCubeMap = {
    [SpuAttrDim.SpuCubeEn.front]: '正面',
    [SpuAttrDim.SpuCubeEn.back]: '背面',
    [SpuAttrDim.SpuCubeEn.left]: '左侧',
    [SpuAttrDim.SpuCubeEn.right]: '右侧',
    [SpuAttrDim.SpuCubeEn.top]: '顶部',
    [SpuAttrDim.SpuCubeEn.bottom]: '底部',
  }
  public static SpuType = class {
    public static selling = "selling"
    public static presale = "presale"
    public static willSale = "willSale"
  }

  public static SpuTypeMap = {
    [SpuAttrDim.SpuType.selling]: '在售',
    [SpuAttrDim.SpuType.presale]: '即将开售',
    [SpuAttrDim.SpuType.willSale]: '爆款预售',
  }

  public static SpuStatus  = class {
    public static draft = "draft"
    public static enable = "enable"
    public static disable = "disable"
    public static delete = "delete"
  }

  public static SpuStatusMap = {
    [SpuAttrDim.SpuStatus.draft]: '草稿',
    [SpuAttrDim.SpuStatus.enable]: '已上架',
    [SpuAttrDim.SpuStatus.disable]: '已下架',
    [SpuAttrDim.SpuStatus.delete]: '已删除',
  }
}