| | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.gkhy.common.annotation.Excel; |
| | | import com.gkhy.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.rchuing.sis.common.annotation.Excel; |
| | | import com.rchuing.sis.common.core.domain.BaseEntity; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | | |
| | | /** |
| | | * 考评管理对象 evaluation |
| | |
| | | * @author expert |
| | | * @date 2024-11-13 |
| | | */ |
| | | @TableName(resultMap = "com.gkhy.system.mapper.EvaluationMapper.EvaluationResult") |
| | | public class Evaluation extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | @TableName(resultMap = "com.gkhy.system.mapper.EvaluationMapper.EvaluationResult") |
| | | @ApiModel(value = "考评管理对象", description = "考评管理表") |
| | | public class Evaluation extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** $column.columnComment */ |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** 分值 */ |
| | | @Excel(name = "分值") |
| | | private Long score; |
| | | /** |
| | | * 分值 |
| | | */ |
| | | @Excel(name = "分值") |
| | | @NotNull(message ="分值不能为空" ) |
| | | @ApiModelProperty(value = "分值",required = true) |
| | | private Long score; |
| | | |
| | | /** 内容 */ |
| | | @Excel(name = "内容") |
| | | private String content; |
| | | /** |
| | | * 内容 |
| | | */ |
| | | @Excel(name = "内容") |
| | | @NotBlank(message ="内容不能为空" ) |
| | | @ApiModelProperty(value = "内容",required = true) |
| | | private String content; |
| | | |
| | | /** 类型1加分项2扣分项 */ |
| | | @Excel(name = "类型1加分项2扣分项") |
| | | private String scoreType; |
| | | /** |
| | | * 类型1加分项2扣分项 |
| | | */ |
| | | @Excel(name = "类型1加分项2扣分项") |
| | | @NotBlank(message ="类型不能为空" ) |
| | | @ApiModelProperty(value = "类型1加分项2扣分项",required = true) |
| | | private String scoreType; |
| | | |
| | | /** 删除标志(0代表存在,1代表删除,默认0) */ |
| | | private Long delFlag; |
| | | /** |
| | | * 删除标志(0代表存在,1代表删除,默认0) |
| | | */ |
| | | private Long delFlag; |
| | | |
| | | /** 乐观锁 */ |
| | | @Excel(name = "乐观锁") |
| | | private Long version; |
| | | /** |
| | | * 乐观锁 |
| | | */ |
| | | @Excel(name = "乐观锁") |
| | | private Long version; |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | public void setScore(Long score) { |
| | | this.score = score; |
| | | } |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public Long getScore() { |
| | | return score; |
| | | } |
| | | public void setContent(String content) { |
| | | this.content = content; |
| | | } |
| | | public void setScore(Long score) { |
| | | this.score = score; |
| | | } |
| | | |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | public void setScoreType(String scoreType) { |
| | | this.scoreType = scoreType; |
| | | } |
| | | public Long getScore() { |
| | | return score; |
| | | } |
| | | |
| | | public String getScoreType() { |
| | | return scoreType; |
| | | } |
| | | public void setDelFlag(Long delFlag) { |
| | | this.delFlag = delFlag; |
| | | } |
| | | public void setContent(String content) { |
| | | this.content = content; |
| | | } |
| | | |
| | | public Long getDelFlag() { |
| | | return delFlag; |
| | | } |
| | | public void setVersion(Long version) { |
| | | this.version = version; |
| | | } |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public Long getVersion() { |
| | | return version; |
| | | } |
| | | public void setScoreType(String scoreType) { |
| | | this.scoreType = scoreType; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) |
| | | public String getScoreType() { |
| | | return scoreType; |
| | | } |
| | | |
| | | public void setDelFlag(Long delFlag) { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public Long getDelFlag() { |
| | | return delFlag; |
| | | } |
| | | |
| | | public void setVersion(Long version) { |
| | | this.version = version; |
| | | } |
| | | |
| | | public Long getVersion() { |
| | | return version; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("id", getId()) |
| | | .append("score", getScore()) |
| | | .append("content", getContent()) |
| | |
| | | .append("createTime", getCreateTime()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .toString(); |
| | | } |
| | | } |
| | | .toString(); |
| | | } |
| | | } |