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

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

/**
 * 转群记录对象 sc_trans_group
 *
 * @author ruoyi
 * @date 2025-07-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ScTransGroup extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Integer id;

    /**
     * 羊只id
     */
    private Integer sheepId;

    @Excel(name = "耳号")
    private String manageTags;

    /**
     * 事件类型（1-围产转群，2-普通转群，3-育肥转群，4-预售转群）
     */
    private Integer eventType;
    @Excel(name = "事件类型")
    private String eventTypeText;

    /**
     * 转入羊舍
     */
    private String foldTo;

    /**
     * 转出羊舍
     */
    private String foldFrom;

    /**
     * 羊只类型
     */
    private Integer sheepTypeId;
    @Excel(name = "羊只类型")
    private String  sheepTypeName;

    /**
     * 转出羊舍名称
     */
    @Excel(name = "转出羊舍")
    private String foldFromName;

    /**
     * 转入羊舍名称
     */
    @Excel(name = "转入羊舍")
    private String foldToName;

    /**
     * 品种id
     */
    private Long varietyId;

    /**
     * 品种名称（联表查询返回，非数据库字段）
     */
    @Excel(name = "品种")
    private String varietyName;


    private Integer reason;
    /**
     * 转群原因描述 用于导出
     */
    @Excel(name = "转群原因")
    private String reasonText;

    /** 转群日期 */
    @Excel(name = "转群日期")
    private String transDate;
    /**
     * 技术员
     */
    @Excel(name = "技术员")
    private String technician;

    /**
     * 状态
     */

    private Integer status;
    /**
     * 状态描述 用于导出
     */
    @Excel(name = "状态")
    private String statusText;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String comment;


}
