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

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.springframework.core.annotation.Order;

import javax.persistence.*;

/**
 * InitJobClass
 *
 * @author bizy
 * @version 1.0
 * @since 2018/12/11 09:06
 */
@Entity
@Data
public class InitJobClass {

    @Id
    @Order(1)
    @GeneratedValue(strategy = GenerationType.AUTO, generator = "myid")
    @GenericGenerator(name = "myid", strategy = "com.jiayue.ipfcst.common.data.entity.id.CustomIDGenerator")
    private Integer id;

    /*别名*/
    @Column(length = 64)
    private String jobClassName;

    /*位置*/
    @Column(length = 64)
    private String jobClassPath;

    /*类型*/
    @Column(length = 64)
    private String jobClassType;

    /**
     * 场站标识
     */
    @Column
    private String stationCode;
}
