package com.huimv.video.domain;

import lombok.Data;

import javax.persistence.*;

/**
 * @Project : huimv.shiwan
 * @Package : com.huimv.video.domain
 * @Description : 牧场区域
 * @Author : yuxuexuan
 * @Create : 2021/1/7 0007 9:20
 **/
@Entity
@Data
@Table(name = "pasture_area")
public class PastureArea {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private int id;

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

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

    @Column(name = "parent")
    private Integer parent;

    @Column(name = "sort")
    private Integer sort;

}
