博主首页

jpa数据库一个字段对应实体两个属性

        @Column(name ="`exc_status`")
        @ApiModelProperty(value = "执行状态:字典(0101020302)")
        private String excStatus;

        @Column(name ="`exc_status`", insertable = false, updatable = false)
        @ApiModelProperty(value = "执行状态:字典(0101020302)")
        private PlanStatus excStatusNote;

 

posted @ 2023-03-28 18:07  笑~笑  阅读(59)  评论(0编辑  收藏  举报