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_provider
 *
 * @author liushuai
 * @date 2025-05-13
 */

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

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

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

    /**
     * 服务商名称
     */
    @NotBlank(message = "服务商名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String providerName;

    /**
     * 服务商图标
     */
    @NotBlank(message = "服务商图标不能为空", groups = { AddGroup.class, EditGroup.class })
    private String logo;

    /**
     * 状态  0 禁用  1 启用
     */
    @NotNull(message = "状态  0 禁用  1 启用不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer isEnable;

    /**
     * 是否锁定
     */
    @NotNull(message = "是否锁定不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer isLock;

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


}
