package com.xunhong.erp.turbo.infra.domain.entity;

import com.alibaba.cola.domain.Entity;
import com.alibaba.cola.dto.DTO;
import com.xunhong.erp.turbo.api.infra.dto.enums.AgreementSceneEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author shenyifei
 */
@Data
@Entity
@EqualsAndHashCode(callSuper = true)
public class Agreement extends DTO {

	/**
	 * 协议id
	 */
	private Long agreementId;

	/**
	 * 使用场景
	 */
	private List<AgreementSceneEnum> scene;

	/**
	 * 协议标题
	 */
	private String title;

	/**
	 * 副标题
	 */
	private String subTitle;

	/**
	 * 协议内容
	 */
	private String content;

}

