package com.yuanchu.limslaboratory.pojo; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; import java.time.LocalDateTime; /** * @Author 张宾 * @Date 2023/8/10 */ @Data @TableName("cnas_satisfaction_survey") public class CnasSatisfactionSurvey implements Serializable { private static final long serialVersionUID = 1L; /** * 主键id */ @TableId(value = "id", type = IdType.ASSIGN_ID) private Long id; /** * 项目名称 */ private String projectName; /** * 调查日期 */ @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date surveyDate; /** * 客户单位名称 */ private String userUnit; ///** // * 日期 // */ //@DateTimeFormat(pattern = "yyyy-MM-dd") //@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") //private Date dateInfo; /** * 填写人姓名 */ private String fillName; /** * 职位 */ private String post; /** * 联系电话 */ private String telephone; /** * 录入日期 */ @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date entryDate; /** * 录入人id */ private Long userId; /** * 录入人名称 */ private String userName; /** * 附件地址 */ private String fileUrl; /** * 服务态度 */ private String serviceAttitude; /** * 技术能力 */ private String technicalPower; /** * 检测工作 */ private String testJob; /** * 改进要求 */ private String improvementRequirements; /** * 其他补充 */ private String otherSupplements; @TableLogic(value = "1") private Integer state; @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" ) @JsonFormat( pattern = "yyyy-MM-dd HH:mm:ss" ) private LocalDateTime createdTime; @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" ) @JsonFormat( pattern = "yyyy-MM-dd HH:mm:ss" ) private LocalDateTime updatedTime; /** * 收费合理性 */ private String reasonableCharge; }