package org.dromara.payment.thirdPlatform.base.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.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.payment.thirdPlatform.base.domain.SysThirdPlatform;

/**
 * 第三方平台业务对象 sys_third_platform
 *
 * @author LionLi
 * @date 2025-03-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysThirdPlatform.class, reverseConvertGenerate = false)
public class SysThirdPlatformBo extends BaseEntity {

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

    /**
     * 第三方平台名称
     */
    @NotBlank(message = "第三方平台名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String platformName;

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

    /**
     * json格式
     */
    @NotBlank(message = "json格式不能为空", groups = { AddGroup.class, EditGroup.class })
    private String otherParams;

    /**
     * 联系人姓名
     */
    @NotBlank(message = "联系人姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contactName;

    /**
     * 联系人电话
     */
    @NotBlank(message = "联系人电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contactTel;

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


}
