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:心境状态量表（POMS）
 * @date 2021/1/20 8:44
 */
@Entity
@Data
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "t_poms_info")
@org.hibernate.annotations.Table(appliesTo = "t_poms_info", comment = "心境状态量表测试信息表")
public class POMSEntity extends BaseEntity {

    /**
     * 编号
     */
    @Column(name = "no", columnDefinition = "int(10) comment '编号'")
    private int no;

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

    /**
     * 选项
     */
    @Column(name = "check_items", columnDefinition = "text comment '选项'")
    private String checkItems;

    /**
     * 默认选项
     */
    @Column(name = "checked", columnDefinition = "text comment '默认选项'")
    private String checked;

    @Column(name = "type", columnDefinition = "varchar(2) comment '类型：1紧张；2愤怒；3疲劳；4:抑郁；5精力；6慌乱；7自我情绪相关'")
    private String type;
}
