package com.mzl.flower.dto.request.log; import com.fasterxml.jackson.annotation.JsonFormat; import com.mzl.flower.base.annotation.DictTrans; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDate; @Data public class OperationRecordQueryDTO { @ApiModelProperty("操作模块(模块/页面)") @DictTrans(target = "withdrawTypeName",codeType = "OPERATION_RECORD_MODULE") private String module; @ApiModelProperty("具体功能(动作)") private String function; @ApiModelProperty("客户端IP地址") private String ipAddress; @ApiModelProperty("操作内容") private String content; @ApiModelProperty(value = "开始日期") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate createDateBeginStr; @ApiModelProperty(value = "结束日期") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate createDateEndStr; @ApiModelProperty("用户名") private String createName; }