package com.rf.psychological.scale.dao.model;


import com.rf.psychological.base.model.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Description:认知任务注意事项
 * @Author: zsf
 * @Date: 2022/7/19
 */
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
@Table(name = "t_precautions_info")
@org.hibernate.annotations.Table(appliesTo = "t_precautions_info", comment = "认知任务注意事项表")
@DynamicUpdate(value = true)
public class Precautions  extends BaseEntity {

    @Column(name = "cognition_id", columnDefinition = "varchar(36) comment '认知任务id'")
    private String cognitionId;

    @Column(name = "notes", columnDefinition = "varchar(200) comment '注意事项'")
    private String notes;
}
