package com.huimv.admin.domain.primary;

import lombok.Data;

import javax.persistence.*;

/**
 * @Project : huimv.shiwan
 * @Package : com.huimv.admin.domain.primary
 * @Description : 首页生产数据
 * @Author : yuxuexuan
 * @Create : 2021/1/4 0004 14:44
 **/

@Entity
@Table(name = "production_data")
@Data
public class ProductionData {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Integer id;

    @Column(name = "name")
    private String name;

    @Column(name = "pig_num")
    private String pigNum;
}
