All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.chanjar.weixin.channel.enums.SpuEditStatus Maven / Gradle / Ivy

package me.chanjar.weixin.channel.enums;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 商品编辑状态
 *
 * @author Zeyes
 */
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum SpuEditStatus {
  /** 0 初始值 */
  INIT(0, "初始值"),
  /** 1 编辑中 */
  SUBMIT(1, "编辑中"),
  /** 2 审核中 */
  ING(2, "审核中"),
  /** 3 审核失败 */
  FAIL(3, "审核失败"),
  /** 4 审核成功 */
  SUCCESS(4, "审核成功"),
  /** 5 商品信息写入中 */
  WRITING(5, "商品信息写入中");

  private final int status;
  private final String desc;

  SpuEditStatus(int status, String desc) {
    this.status = status;
    this.desc = desc;
  }

  public int getStatus() {
    return status;
  }

  public String getDesc() {
    return desc;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy