package com.red.circle.wallet.inner.model.cmd;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户货运账户.
 * </p>
 *
 * @author pengliang
 * @since 2021-07-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserFreightSellerCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 归属平台.
   */
  @NotNull(message = "sysOrigin 不可为空")
  private String sysOrigin;

  /**
   * id.
   */
  @NotNull(message = "id 不可为空")
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;


  /**
   * 授权卖家数量.
   */
  @NotNull(message = "授权卖家数量")
  private Integer sellerQuantity;

  /**
   * 操作用户.
   */
  private Long operationUser;
}
