package com.rf.psychological.dao.model;

import com.rf.psychological.base.model.BaseEntity;
import lombok.*;

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

/**
 * @author zzf
 * @description:测试类型症状自评量表SCL-90
 * @date 2021/1/20 16:51
 */
@Entity
@Data
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "t_scl_info")
@org.hibernate.annotations.Table(appliesTo = "t_scl_info", comment = "测试类型症状自评量表SCL-90测试信息表")
public class SCLEntity extends BaseEntity {
    /**
     * 编号
     */
    @Column(name = "no", columnDefinition = "int(10) comment '编号'")
    private int no;

    /**
     * 内容
     */
    @Column(name = "content", columnDefinition = "text comment '内容'")
    private String content;

    @Column(name = "type", columnDefinition = "varchar(2) comment '分量编号 0躯体化 1强迫症状 2人际关系敏感 3抑郁 4焦虑 5敌对 6恐怖 7偏执 8精神病性 9 其他'")
    private String type;

    @Column(name = "checked", columnDefinition = "varchar(50) comment '选择项'")
    private String checked;
}
