content: package org.ruoyi.domain.bo;
  
  import io.github.linpeilie.annotations.AutoMapper;
  import jakarta.validation.constraints.NotBlank;
  import jakarta.validation.constraints.NotNull;
  import lombok.Data;
  import lombok.EqualsAndHashCode;
  import org.ruoyi.common.core.validate.AddGroup;
  import org.ruoyi.common.core.validate.EditGroup;
  import org.ruoyi.core.domain.BaseEntity;
  import org.ruoyi.domain.ChatPayOrder;
  
  import java.math.BigDecimal;
  
  /**
   * 支付订单业务对象 chat_pay_order
   *
   * @author ageerle
   * @date 2025-04-08
   */
  @Data
  @EqualsAndHashCode(callSuper = true)
  @AutoMapper(target = ChatPayOrder.class, reverseConvertGenerate = false)
  public class ChatPayOrderBo extends BaseEntity {
  
      /**
       * 主键
       */
      @NotNull(message = "主键不能为空", groups = { EditGroup.class })
      private Long id;
  
      /**
       * 订单编号
       */
      @NotBlank(message = "订单编号不能为空", groups = { AddGroup.class, EditGroup.class })
      private String orderNo;
  
      /**
       * 订单名称
       */
      @NotBlank(message = "订单名称不能为空", groups = { AddGroup.class, EditGroup.class })
      private String orderName;
  
      /**
       * 金额
       */
      @NotNull(message = "金额不能为空", groups = { AddGroup.class, EditGroup.class })
      private BigDecimal amount;
  
      /**
       * 支付状态
       */
      @NotBlank(message = "支付状态不能为空", groups = { AddGroup.class, EditGroup.class })
      private String paymentStatus;
  
      /**
       * 支付方式
       */
      @NotBlank(message = "支付方式不能为空", groups = { AddGroup.class, EditGroup.class })
      private String paymentMethod;
  
      /**
       * 用户ID
       */
      @NotNull(message = "用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
      private Long userId;
  
      /**
       * 备注
       */
      @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
      private String remark;
  
  
  }
  