package com.maintain.business.domain.bo;

import com.maintain.common.core.validate.AddGroup;
import com.maintain.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.maintain.common.core.domain.BaseEntity;

/**
 * 银联支付日志记录业务对象 sys_pay_log
 *
 * @author liushuai
 * @date 2025-11-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysPayLogBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 结算维修单ID
     */
    @NotNull(message = "结算维修单ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long settlementMaintainId;

    /**
     * 认证报文
     */
    @NotBlank(message = "认证报文不能为空", groups = { AddGroup.class, EditGroup.class })
    private String authorization;

    /**
     * 请求参数
     */
    @NotBlank(message = "请求参数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String operParam;

    /**
     * 返回参数
     */
    @NotBlank(message = "返回参数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jsonResult;

    /**
     * 操作状态（0正常 1异常）
     */
    @NotNull(message = "操作状态（0正常 1异常）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long status;

    /**
     * 操作时间
     */
    @NotNull(message = "操作时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date operTime;


}
