Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
d7aa0bda87
@ -0,0 +1,55 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.base.annotation;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.enumutil.ImppEnumUtil;
|
||||||
|
|
||||||
|
import java.lang.annotation.ElementType;
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : Excel导出列 关系描述
|
||||||
|
* @Reference :
|
||||||
|
* @Author : yunhao
|
||||||
|
* @CreateDate : 2019-01-08 10:42
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
|
||||||
|
@Target(ElementType.FIELD)
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
public @interface AnnoOutputColumn {
|
||||||
|
|
||||||
|
// 列名称
|
||||||
|
public String name() default "";
|
||||||
|
|
||||||
|
// 关系对象显示的字段
|
||||||
|
public String value() default "";
|
||||||
|
|
||||||
|
// 显示格式
|
||||||
|
public FORMAT format() default FORMAT.STRING;
|
||||||
|
|
||||||
|
// 关联关系对象的Key
|
||||||
|
public String refForeignKey() default "";
|
||||||
|
|
||||||
|
// 关系对象
|
||||||
|
public Class refClass() default Object.class;
|
||||||
|
|
||||||
|
public boolean hidden() default false;
|
||||||
|
|
||||||
|
// 敬请发挥
|
||||||
|
public enum FORMAT{
|
||||||
|
STRING("STRING","全部显示"), // String 类型
|
||||||
|
STRING_50("STRING_50","显示前面50字符"), // String 长度50
|
||||||
|
DATE("DATE","yyyy-MM-dd"), // 日期
|
||||||
|
DATE_TIME("DATE_TIME","yyyy-MM-dd HH:mm:ss"); // 日期及时间
|
||||||
|
|
||||||
|
String name;
|
||||||
|
String description;
|
||||||
|
|
||||||
|
FORMAT(String name, String description) {
|
||||||
|
this.name = name;
|
||||||
|
this.description = description;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,31 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.base.bean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : yunhao
|
||||||
|
* @CreateDate : 2019-01-08 18:46
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public class BaseConstWords {
|
||||||
|
|
||||||
|
// 字典代码
|
||||||
|
// 性别 SYS_SEX
|
||||||
|
public static final String DICTIONARY_SEX = "SYS_SEX";
|
||||||
|
// 文件类型 FILE_TYPE
|
||||||
|
public static final String DICTIONARY_FILE_TYPE = "FILE_TYPE";
|
||||||
|
// 婚姻 MARRIAGE
|
||||||
|
public static final String DICTIONARY_MARRIAGE = "MARRIAGE";
|
||||||
|
// 学历 EDUCATION
|
||||||
|
public static final String DICTIONARY_EDUCATION = "EDUCATION";
|
||||||
|
// 民族 NATIONALITY
|
||||||
|
public static final String DICTIONARY_NATIONALITY = "NATIONALITY";
|
||||||
|
// 证件类型 CERTIFICATE_TYPE
|
||||||
|
public static final String DICTIONARY_CERTIFICATE_TYPE = "CERTIFICATE_TYPE";
|
||||||
|
// 员工等级 GRADE
|
||||||
|
public static final String DICTIONARY_EMPLOYEE_GRADE ="GRADE";
|
||||||
|
// 政治面貌 POLITICAL_STATUS
|
||||||
|
public static final String DICTIONARY_POLITICAL_STATUS ="POLITICAL_STATUS";
|
||||||
|
// 员工类型 EMPLOYEE_TYPE
|
||||||
|
public static final String DICTIONARY_EMPLOYEE_TYPE ="EMPLOYEE_TYPE";
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.model.platform;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.common.Pager;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : Adair Peng
|
||||||
|
* @CreateDate : 2019-01-10 13:52
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
public class UserDetailPagerModel {
|
||||||
|
|
||||||
|
private UserDetailModel userDetailModel;
|
||||||
|
|
||||||
|
private Pager pager;
|
||||||
|
}
|
Loading…
Reference in New Issue