weaver-hrm-organization/src/com/engine/organization/annotation/OrganizationTable.java

83 lines
1.4 KiB
Java
Raw Normal View History

2022-05-07 10:18:50 +08:00
package com.engine.organization.annotation;
import com.cloudstore.eccom.pc.table.WeaTableType;
2022-05-30 16:21:15 +08:00
import com.engine.organization.enums.DeleteTypeEnum;
2022-05-07 10:18:50 +08:00
import java.lang.annotation.*;
/**
2022-05-10 10:54:41 +08:00
* @Author dxfeng
2022-06-14 11:07:48 +08:00
* @Description:
2022-05-10 10:54:41 +08:00
* @Date 2022/5/9
* @Version V1.0
2022-05-07 10:18:50 +08:00
**/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface OrganizationTable {
String pageId() default "";
/**
* 数据库字段','分割,例如:"id, name, description"
*/
String fields() default "";
/**
* 表名 ,例如:"FROM hrsa_tax_agent"
*/
String fromSql() default "";
/**
* 条件
*/
String where() default "";
/**
* 分组
*/
String groupby() default "";
/**
* 排序
*/
String orderby() default "";
/**
* 主键
*/
String primarykey() default "";
/**
* 去重
*/
boolean distinct() default false;
2022-06-21 17:12:33 +08:00
/**
* 排序方式
* @return
*/
String sortway() default "desc";
2022-05-07 10:18:50 +08:00
/**
* 操作按钮
*/
OrganizationTableOperate[] operates() default {};
2022-05-30 16:21:15 +08:00
/**
* 操作按钮权限控制
* @return
*/
OperatePopedom operatePopedom() default @OperatePopedom;
2022-05-07 10:18:50 +08:00
/**
* 列表选择框
*/
WeaTableType tableType() default WeaTableType.NONE;
2022-05-30 16:21:15 +08:00
CheckboxPopedom checkboxPopedom() default @CheckboxPopedom;
2022-05-07 10:18:50 +08:00
}