package com.ho.business.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ho.common.tools.constant.CommonConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author catkins
 * @date 2023/10/12 0012 17:37
 */
@Data
public class PlanningCurveTactics {

    @ApiModelProperty(value = "第几页")
    private Integer pageNum;

    @ApiModelProperty(value = "分页数量")
    private Integer pageSize;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "模板id")
    private Integer temId;

    @ApiModelProperty(value = "模板名称")
    private String temName;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = CommonConstant.DATE_YMD)
    private Date startDate;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = CommonConstant.DATE_YMD)
    private Date endDate;

    /** 类型 0:日常 1:节假日 2:周末 */
    private Integer type;

    private String typeName;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = CommonConstant.DATE)
    private Date createTime;

    @ApiModelProperty(value = "创建者")
    private String creator;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = CommonConstant.DATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改者")
    private String modifier;

    private Integer stationId;


    /** 计划曲线列表数据 */
    private List<PlanningCurve> planningCurves;

    /** 下拉框value (id) */
    private Integer value;

    /** 下拉框名称 (模板名称) */
    private String title;
}
