package com.gkhy.exam.system.domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.io.Serializable; import java.time.LocalDate; import java.time.LocalDateTime; @Setter @Getter @TableName("quality_economy") @ApiModel(value = "QualityEconomy",description = "质量经济性分析表") public class QualityEconomy implements Serializable { @ApiModelProperty("主键") @TableId(value = "id", type = IdType.AUTO) private Integer id; @ApiModelProperty(value = "企业ID") @TableField("company_id") private Integer companyId; @TableField(exist = false) private String companyName; @ApiModelProperty(value = "年份") @TableField("year") private String year; @ApiModelProperty(value = "基本情况") @TableField("basic") private String basic; @ApiModelProperty(value = "综合分析") @TableField("synthesize") private String synthesize; @ApiModelProperty(value = "内外部损失") @TableField("damage") private String damage; @ApiModelProperty(value = "纠正措施") @TableField("measure") private String measure; @ApiModelProperty(value = "分析结果") @TableField("analysis") private String analysis; @ApiModelProperty(value = "改进建议") @TableField("suggest") private String suggest; @ApiModelProperty(value = "部门") @TableField("duty_id") private Integer dutyId; @TableField(exist = false) private String dutyName; @ApiModelProperty(value = "日期") @TableField("duty_time") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate dutyTime; @ApiModelProperty(value = "是否删除 0否 1是") @TableField("del_flag") private Integer delFlag; @TableField("create_by") private String createBy; @TableField("create_time") private LocalDateTime createTime; @TableField("update_by") private String updateBy; @TableField("update_time") private LocalDateTime updateTime; }