package com.jiayue.ipfcst.common.data.entity;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 限电计划标识
 *
 * @author xls
 * @version 3.0
 */
@Data
@Entity
public class PowerLimitPlanSign implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO, generator = "myid")
    @GenericGenerator(name = "myid", strategy = "com.jiayue.ipfcst.common.data.entity.id.CustomIDGenerator")
    @Column
    private Integer id;

    /*是否限电 1.限电 0.不限电*/
    @Column
    private Integer sign;
}
