package com.zhyc.module.produce.manage_sheep.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_change_variety
 *
 * @author ruoyi
 * @date 2025-07-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ScChangeVariety extends BaseEntity {
    private static final long serialVersionUID = 1L;

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

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

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

    /**
     * 事件类型
     */
    @Excel(name = "事件类型")
    private String eventType;

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

    /**
     * 新品种
     */
    @Excel(name = "新品种")
    private String varietyNew;

    /**
     * 旧品种
     */
    @Excel(name = "旧品种")
    private String varietyOld;

    /**
     * 羊舍
     */
    private Long sheepfoldId;
    @Excel(name = "羊舍")
    private String sheepfoldName;

    /**
     * 技术员
     */
    @Excel(name = "技术员")
    private String technician;

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

    /**
     * 前端多耳号查询条件，非表字段
     */
    private List<String> manageTagsList;

    /**
     * 是否在群查询条件（0-在群，1-离群），非数据库字段
     */
    private Integer isDelete;

    /**
     * 用户编号
     */
    private Long userId;

    /**
     * 部门编号
     */
    private Long deptId;
}
