package com.rf.psychological.dao.model;

import com.rf.psychological.base.model.BaseEntity;
import lombok.*;
import org.hibernate.annotations.DynamicUpdate;

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

/**
 * @author zzf
 * @description:汉化版美国航空航天局任务负荷指数量表
 * @date 2021/1/20 17:47
 */
@Entity
@Data
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "t_aviation_info")
@org.hibernate.annotations.Table(appliesTo = "t_aviation_info", comment = "汉化版美国航空航天局任务负荷指数量表")
@DynamicUpdate
public class AviationEntity extends BaseEntity {
    /**
     * 编号
     */
    @Column(name = "no", columnDefinition = "int(10) comment '编号'")
    private int no;

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

    @Column(name = "checked", columnDefinition = "varchar(10) comment '得分'")
    private String checked;
}
