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

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;

import java.util.List;

/**
 * 去势对象 sc_castrate
 *
 * @author ruoyi
 * @date 2025-07-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ScCastrate extends BaseEntity {
    private static final long serialVersionUID = 1L;

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

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

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

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

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

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

    /**
     * 去势日期
     */
    @Excel(name = "去势日期", width = 15, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String eventDate;

    /**
     * 羊舍id
     */
    private Long sheepfold;

    @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;
}
