package com.ruoyi.web.modules.video;

import com.ruoyi.web.modules.video.domain.BizLivestockMonitor;
import com.ruoyi.web.modules.video.support.LivestockMonitorRules;

/**
 * 畜牧监控测试样本。
 */
public final class LivestockMonitorTestSamples
{
    public static final long PASTURE_OWNER_ID = 101L;

    public static final long MARKET_OWNER_ID = 201L;

    private LivestockMonitorTestSamples()
    {
    }

    public static BizLivestockMonitor samplePastureMonitor()
    {
        BizLivestockMonitor row = new BizLivestockMonitor();
        row.setMonitorName("圈舍监控1");
        row.setOwnerType(LivestockMonitorRules.OWNER_TYPE_PASTURE);
        row.setOwnerId(PASTURE_OWNER_ID);
        row.setOwnerName("巴青牧场");
        row.setInstallLocation("1号圈舍");
        row.setIpAddress("192.168.1.101");
        row.setDelFlag(LivestockMonitorRules.DEL_FLAG_NORMAL);
        return row;
    }

    public static BizLivestockMonitor sampleWithId(Long id)
    {
        BizLivestockMonitor row = samplePastureMonitor();
        row.setId(id);
        return row;
    }
}
