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

import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotBlank;
import java.io.Serial;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 支付渠道厂商
 * </p>
 *
 * @author pengliang
 * @since 2021-11-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysPayFactoryCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 记录id.
   */
  private Long id;

  /**
   * 厂商code
   */
  @NotBlank
  private String factoryCode;

  /**
   * 厂商名称
   */
  @NotBlank
  private String factoryName;

  /**
   * 厂商icon
   */
  private String factoryIcon;

  private Timestamp createTime;
  private Timestamp updateTime;
  private Long createUser;
  private Long updateUser;
}
