package cn.timer.api.bean.jxgl; import javax.persistence.GeneratedValue; import javax.persistence.Id; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.extension.activerecord.Model; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; /** * @author Tang 2020-05-26 */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @ApiModel("考核项") public class JxglAppraisalItem extends Model<JxglAppraisalItem> { /** * */ private static final long serialVersionUID = 1L; @Id @GeneratedValue @TableId(type = IdType.AUTO) @ApiModelProperty(value = "编号 编号", example = "10") private Integer id; @ApiModelProperty(value = "考核指标id 考核指标id", example = "10") private Integer appraisalIndicatorsId; @ApiModelProperty(value = "标题", example = "标题") private String title; @ApiModelProperty(value = "内容", example = "内容") private String content; @ApiModelProperty(value = "排序 排序", example = "10") private Integer ranks; }