|
|
@ -1,12 +1,12 @@
|
|
|
|
package cn.estsh.i3plus.pojo.platform.bean;
|
|
|
|
package cn.estsh.i3plus.pojo.platform.bean;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
import lombok.Data;
|
|
|
|
import lombok.Data;
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
import javax.persistence.Column;
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
import javax.persistence.Lob;
|
|
|
|
import javax.persistence.Lob;
|
|
|
@ -30,7 +30,9 @@ import javax.persistence.Transient;
|
|
|
|
public class SysLocaleResource extends BaseBean {
|
|
|
|
public class SysLocaleResource extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = -2397207310100672746L;
|
|
|
|
private static final long serialVersionUID = -2397207310100672746L;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name="resource_type")
|
|
|
|
@Column(name="resource_type")
|
|
|
|
|
|
|
|
@AnnoOutputColumn(refClass = CommonEnumUtil.SYS_LOCALE_RESOURCE_TYPE.class, refForeignKey = "value", value = "description")
|
|
|
|
@ApiParam(value = "资源类型",example = "1",access = "使用枚举:CommonEnumUtil.SYS_LOCALE_RESOURCE_TYPE")
|
|
|
|
@ApiParam(value = "资源类型",example = "1",access = "使用枚举:CommonEnumUtil.SYS_LOCALE_RESOURCE_TYPE")
|
|
|
|
private Integer resourceType;
|
|
|
|
private Integer resourceType;
|
|
|
|
|
|
|
|
|
|
|
@ -62,8 +64,14 @@ public class SysLocaleResource extends BaseBean {
|
|
|
|
@ApiParam(value = "资源Value",example = "通过resourceType,languageId和key获取")
|
|
|
|
@ApiParam(value = "资源Value",example = "通过resourceType,languageId和key获取")
|
|
|
|
private String resourceValue;
|
|
|
|
private String resourceValue;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name="SOFT_TYPE")
|
|
|
|
|
|
|
|
@ApiParam(value ="产品类型", example = "0",access = "softTyp DOC: http://doc.estsh.com/docs/i3plus_api/i3plus_api-impp")
|
|
|
|
|
|
|
|
@AnnoOutputColumn(refClass = CommonEnumUtil.SOFT_TYPE.class, refForeignKey = "value", value = "description",required = false)
|
|
|
|
|
|
|
|
private Integer softType;
|
|
|
|
|
|
|
|
|
|
|
|
//系统自带需要有初始化表,只能修改value,无法删除。
|
|
|
|
//系统自带需要有初始化表,只能修改value,无法删除。
|
|
|
|
@Column(name="is_system")
|
|
|
|
@Column(name="is_system")
|
|
|
|
@ApiParam(value = "是否系统参数",example = "2")
|
|
|
|
@ApiParam(value = "是否系统参数",example = "2")
|
|
|
|
|
|
|
|
@AnnoOutputColumn(refClass = CommonEnumUtil.TRUE_OR_FALSE.class, refForeignKey = "value", value = "description")
|
|
|
|
private Integer isSystem;
|
|
|
|
private Integer isSystem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|