package com.huimv.produce.produce.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class ProdStock extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 存栏类型
     */
    private String stockType;

    /**
     * 存栏名称
     */
    private String stockName;

    /**
     * 存栏数量
     */
    private Integer stockQuantity;

    /**
     * 占比
     */
    private Double rate;

    /**
     * 月份
     */
    private Integer month;

    /**
     * 年份
     */
    private Integer year;

    /**
     * 牧场id
     */
    private Integer farmId;

    /**
     * 区域id
     */
    private Integer subareaId;


}
