package com.ruoyi.web.modules.farming;

import com.ruoyi.web.modules.farming.domain.BizTechServicePersonnel;
import com.ruoyi.web.modules.farming.domain.dto.TechServicePersonnelSaveRequest;

/**
 * 科技服务人员管理测试样例。
 */
public final class TechServicePersonnelTestSamples
{
    private TechServicePersonnelTestSamples()
    {
    }

    public static TechServicePersonnelSaveRequest sampleRequest()
    {
        TechServicePersonnelSaveRequest req = new TechServicePersonnelSaveRequest();
        req.setEnvoyMaleCount(10);
        req.setEnvoyFemaleCount(8);
        req.setEnvoyPartyMemberCount(5);
        req.setAgriJuniorCount(3);
        req.setAgriClerkCount(4);
        req.setAgriIntermediateCount(6);
        req.setAgriAssociateSeniorCount(2);
        req.setAgriManagementCount(1);
        return req;
    }

    public static BizTechServicePersonnel dbRow()
    {
        BizTechServicePersonnel row = new BizTechServicePersonnel();
        row.setId(1L);
        row.setEnvoyMaleCount(10);
        row.setEnvoyFemaleCount(8);
        row.setEnvoyPartyMemberCount(5);
        row.setEnvoyTotalCount(18);
        row.setAgriJuniorCount(3);
        row.setAgriClerkCount(4);
        row.setAgriIntermediateCount(6);
        row.setAgriAssociateSeniorCount(2);
        row.setAgriManagementCount(1);
        row.setAgriTotalCount(16);
        row.setCreateBy("admin");
        return row;
    }
}
