|
|
|
|
@ -4,6 +4,7 @@ import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
|
|
|
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
|
|
|
|
import cn.iocoder.yudao.module.crm.dal.dataobject.product.CrmProductCategoryDO;
|
|
|
|
|
import cn.iocoder.yudao.module.crm.enums.DictTypeConstants;
|
|
|
|
|
import cn.iocoder.yudao.module.system.api.user.AdminUserApi;
|
|
|
|
|
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
|
|
import cn.idev.excel.annotation.ExcelProperty;
|
|
|
|
|
import com.fhs.core.trans.anno.Trans;
|
|
|
|
|
@ -58,7 +59,7 @@ public class CrmProductRespVO implements VO {
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "负责人的用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "31926")
|
|
|
|
|
@Trans(type = TransType.SIMPLE, targetClassName = "cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserDO",
|
|
|
|
|
@Trans(type = TransType.AUTO_TRANS, key = AdminUserApi.PREFIX,
|
|
|
|
|
fields = "nickname", ref = "ownerUserName")
|
|
|
|
|
private Long ownerUserId;
|
|
|
|
|
@Schema(description = "负责人的用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道源码")
|
|
|
|
|
@ -66,7 +67,7 @@ public class CrmProductRespVO implements VO {
|
|
|
|
|
private String ownerUserName;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "创建人编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
|
|
|
|
@Trans(type = TransType.SIMPLE, targetClassName = "cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserDO",
|
|
|
|
|
@Trans(type = TransType.AUTO_TRANS, key = AdminUserApi.PREFIX,
|
|
|
|
|
fields = "nickname", ref = "creatorName")
|
|
|
|
|
private String creator;
|
|
|
|
|
@Schema(description = "创建人名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道源码")
|
|
|
|
|
|