package com.rf.psychological.dao.model;

import com.rf.psychological.base.model.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * @author zzf
 * @description:卡氏十六种人格因素量表 实体类
 * @date 2021/2/2 15:01
 */
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "t_cattell_info")
@org.hibernate.annotations.Table(appliesTo = "t_cattell_info", comment = "卡氏十六种人格因素量表")
public class CattellEntity 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 '人格因素'")
    private String type;


}
