package cn.iocoder.yudao.module.system.controller.admin.agreement.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 平台协议新增/修改 Request VO")
@Data
public class AgreementSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "5752")
    private Long id;

    @Schema(description = "协议类型：1服务条款 2隐私声明", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "协议类型：1服务条款 2隐私声明不能为空")
    private Integer type;

    @Schema(description = "路径，备用字段")
    private String path;

    @Schema(description = "协议内容")
    private String content;

}