package com.zhyc.module.produce.breed.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.zhyc.common.annotation.Excel;
import com.zhyc.common.core.domain.BaseEntity;

/**
 * 配种计划生成对象 sc_breed_plan_generate
 *
 * @author ruoyi
 * @date 2025-07-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ScBreedPlanGenerate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 计划名称 */
    @Excel(name = "计划名称")
    private String planName;

    /** 计划类型：1-同期发情配种计划 */
    @Excel(name = "计划类型")
    private Integer planType;

    /** 计划日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planDate;

    /** 总母羊数 */
    @Excel(name = "总母羊数")
    private Integer totalEweCount;

    /** 总公羊数 */
    @Excel(name = "总公羊数")
    private Integer totalRamCount;

    /** 配种比例 */
    @Excel(name = "配种比例")
    private String breedRatio;

    /** 状态：0-待审批，1-已审批，2-已拒绝 */
    @Excel(name = "状态")
    private Integer status;

    /** 审批人 */
    @Excel(name = "审批人")
    private String approver;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date approveTime;

    /** 审批意见 */
    private String approveRemark;


    /** 全部羊耳号列表（用于多耳号查询） */
    private List<String> allEarNumbers;

    public List<String> getAllEarNumbers() {
        return allEarNumbers;
    }

    public void setAllEarNumbers(List<String> allEarNumbers) {
        this.allEarNumbers = allEarNumbers;
    }
}