package com.xiaoniu.subsystem.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiaoniu.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 满意度调查表
 * </p>
 *
 * @author haoxuyang
 * @since 2025-01-02 10:54:56
 */
@Data
@Accessors(chain = true)
@TableName("tb_satisfaction_survey")
@Schema(name = "SatisfactionSurvey", description = "满意度调查表")
public class SatisfactionSurvey implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "调查ID")
    @TableId(value = "survey_id", type = IdType.AUTO)
    private Long surveyId;

    @Schema(description = "专业（班次）ID")
    private Long flightId;

    @Excel(name = "培训班次")
    @Schema(description = "专业（班次）名称")
    private String flightName;

    @Schema(description = "专业（班次）编码")
    private String flightCode;

    @Excel(name = "开训时间", dateFormat = "yyyy-MM-dd")
    @Schema(description = "开训时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date trainingTime;

    @Excel(name = "培训地点")
    @Schema(description = "培训地点")
    private String trainingSite;

    @Excel(name = "课程安排满意度",readConverterExp = "1=很不满意,2=不满意,3=一般满意,4=比较满意,5=满意")
    @Schema(description = "课程安排满意度（1很不满意 2不满意 3一般满意 4比较满意 5满意）")
    private String courseArrangementSatisfaction;

    @Excel(name = "授课内容满意度",readConverterExp="1=很不满意,2=不满意,3=一般满意,4=比较满意,5=满意")
    @Schema(description = "授课内容满意度（1很不满意 2不满意 3一般满意 4比较满意 5满意）")
    private String teachingContentSatisfaction;

    @Excel(name = "授课态度满意度",readConverterExp="1=很不满意,2=不满意,3=一般满意,4=比较满意,5=满意")
    @Schema(description = "授课态度满意度（1很不满意 2不满意 3一般满意 4比较满意 5满意）")
    private String teachingAttitudeSatisfaction;

    @Excel(name = "教学方法满意度",readConverterExp="1=很不满意,2=不满意,3=一般满意,4=比较满意,5=满意")
    @Schema(description = "教学方法满意度（1很不满意 2不满意 3一般满意 4比较满意 5满意）")
    private String teachingMethodSatisfaction;

    @Excel(name = "日常保障满意度",readConverterExp = "1=很不满意,2=不满意,3=一般满意,4=比较满意,5=满意")
    @Schema(description = "日常保障满意度（1很不满意 2不满意 3一般满意 4比较满意 5满意）")
    private String dailySupportSatisfaction;

    @Excel(name = "合计分数")
    @Schema(description = "合计分数")
    private String totalScore;

    @Excel(name = "意见")
    @Schema(description = "意见")
    private String opinion;

    @Excel(name = "其他装备相关培训")
    @Schema(description = "其他装备相关培训")
    private String otherTraining;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "储存地址")
    private String url;

    @Schema(description = "创建人")
    private Long createUser;

    @Schema(description = "创建部门")
    private Long createDept;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(description = "修改人")
    private Long updateUser;

    @Schema(description = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @Schema(description = "是否已删除")
    private Integer isDeleted;

    @Excel(name = "年度")
    @Schema(description = "年度")
    private String year;
}
