package cn.ey.biz.module.system.controller.admin.i18n.vo;

import cn.ey.biz.common.pojo.PageParam;
import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.ey.biz.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 多语言分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class I18nPageReqVO extends PageParam {

    @ApiModelProperty(value = "类型 menu-菜单 label-显示标签 dict-字典")
    private String type;

    @ApiModelProperty(value = "语言种类")
    private String lang;

    @ApiModelProperty(value = "显示键 如果是菜单或者字典对应的是其主键")
    private String key;

    @ApiModelProperty(value = "显示值")
    private String label;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

    private String acceptLanguage;

    private String app;

}
