sj
2 years ago
10 changed files with 77 additions and 9 deletions
@ -0,0 +1,56 @@
|
||||
package co.yixiang.modules.user.domain; |
||||
|
||||
import cn.hutool.core.bean.BeanUtil; |
||||
import cn.hutool.core.bean.copier.CopyOptions; |
||||
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDomain; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
|
||||
/*** |
||||
@auther sj |
||||
@Date 2022-9-29 |
||||
*/ |
||||
public class YxSystemUserLevel extends BaseDomain { |
||||
@TableId |
||||
private Integer id; |
||||
|
||||
|
||||
/** 任务名称 */ |
||||
private String name; |
||||
|
||||
|
||||
/** 配置原名 */ |
||||
private String realName; |
||||
|
||||
|
||||
/** 任务类型 */ |
||||
private String taskType; |
||||
|
||||
|
||||
/** 限定数 */ |
||||
private Integer number; |
||||
|
||||
|
||||
/** 等级id */ |
||||
private Integer levelId; |
||||
|
||||
|
||||
/** 排序 */ |
||||
private Integer sort; |
||||
|
||||
|
||||
/** 是否显示 */ |
||||
private Integer isShow; |
||||
|
||||
|
||||
/** 是否务必达成任务,1务必达成,0=满足其一 */ |
||||
private Integer isMust; |
||||
|
||||
|
||||
/** 任务说明 */ |
||||
private String illustrate; |
||||
|
||||
|
||||
public void copy(YxSystemUserLevel source){ |
||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true)); |
||||
} |
||||
} |
Loading…
Reference in new issue