使用注解避免允许非 null 编辑
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package org.jiayunet.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
@@ -47,9 +48,11 @@ public class UserJobIntention {
|
||||
private List<Long> aiIndustryIds;
|
||||
|
||||
/** 工作类型 0=全职 1=实习 */
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
private Integer employmentType;
|
||||
|
||||
/** 招聘分类: 0=社招, 1=校招, 2=实习, 3=其他 */
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
private Integer recruitCategory;
|
||||
|
||||
/** 创建时间 */
|
||||
|
||||
Reference in New Issue
Block a user