package com.yingpaipay.setting.domain.bo;

import com.yingpaipay.setting.domain.AgreementSetting;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 小程序设置业务对象 applet_setting
 *
 * @author Huanyi
 * @date 2025-11-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = AgreementSetting.class, reverseConvertGenerate = false)
public class AgreementSettingBo extends BaseEntity {

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

    /**
     * 用户协议
     */
    private String userAgreement;

    /**
     * 隐私协议
     */
    private String privacyAgreement;


}
