package com.propertyManagement.pay.domain.bo;

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

import java.util.Date;

import com.propertyManagement.common.core.domain.BaseEntity;

/**
 * 支付应用业务对象 cms_pay_app
 *
 * @author liushuai
 * @date 2025-05-13
 */

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

    /**
     * 编号
     */
    private Long id;

    /**
     * 应用AppID
     */
    @NotBlank(message = "应用AppID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String appId;

    /**
     * 应用编码
     */
    @NotBlank(message = "应用编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String appCode;

    /**
     * 应用名称
     */
    @NotBlank(message = "应用名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String appName;

    /**
     * 交易支付类型
     */
    private String tradeType;

    /**
     * 商户编码
     */
    @NotBlank(message = "商户编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String merchantCode;

    /**
     * 服务商编码
     */
    private String providerCode;

    /**
     * 应用配置（json）
     */
    private String appConfig;

    /**
     * 状态  0 禁用  1 启用
     */
    private Integer isEnable;

    /**
     * 是否锁定  0 否 1 是
     */
    private Integer isLock;

    /**
     * 备注
     */
    private String remark;


}
