package com.ho.business.entity;

import com.ho.business.vo.req.PolicyConfigData;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

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

/**
 * 削峰填谷方案
 */
@Data
public class PolicyConfigPlan{

    private Integer id;

    @Length(max = 50, message = "方案名称不能超过20个字符")
    private String planName;

    private Date createTime;

    private Integer stationId;

    private Integer month;

    private Integer type;

    private List<PolicyConfigData> childs;
}
