package com.xunhong.erp.turbo.api.infra.dto.vo;

import com.alibaba.cola.dto.DTO;
import com.xunhong.erp.turbo.api.infra.dto.enums.AgreementSceneEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "协议")
@EqualsAndHashCode(callSuper = true)
public class AgreementVO extends DTO {

	/**
	 * 协议id
	 */
	@Schema(title = "协议id", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
	private Long agreementId;

	/**
	 * 使用场景
	 */
	@Schema(title = "使用场景")
	private List<AgreementSceneEnum> scene;

	/**
	 * 协议标题
	 */
	@Schema(title = "协议标题")
	private String title;

	/**
	 * 副标题
	 */
	@Schema(title = "副标题")
	private String subTitle;

	/**
	 * 协议内容
	 */
	@Schema(title = "协议内容")
	private String content;

}

