package com.hdkj.lt.bf.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hdkj.lt.bf.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class StrategyConfigDetailDTO extends BaseEntity implements Serializable {
    /**
     * 策略配置ID
     */
    private Long strategyId;

    private Integer transferStrategy;

    @ApiModelProperty("停用时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime downTime;

    @ApiModelProperty("启动时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
}
