package org.dromara.payment.merchant.domain.bo;

import org.dromara.payment.merchant.domain.BusMerchantProductSyd;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 企业产品服务商业务对象 bus_merchant_product_syd
 *
 * @author LionLi
 * @date 2024-04-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = BusMerchantProductSyd.class, reverseConvertGenerate = false)
public class BusMerchantProductSydBo extends BaseEntity {

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

    /**
     * 企业ID
     */
    @NotNull(message = "企业ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long merId;

    /**
     * 服务商ID
     */
    @NotNull(message = "服务商ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sydId;


}
