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 SysPayChannelCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 渠道code
   */
  @NotBlank
  private String channelCode;

  /**
   * 渠道名称
   */
  @NotBlank
  private String channelName;

  /**
   * 渠道图标
   */
  private String channelIcon;

  /**
   * 渠道类型
   */
  @NotBlank
  private String channelType;


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