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

import java.util.Date;
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_dry_milk
 *
 * @author ruoyi
 * @date 2025-07-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ScDryMilk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

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

    /** 羊只id */
    @Excel(name = "羊只id")
    private String sheepId;

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

    /** 是否使用乳头封闭剂 */
    @Excel(name = "是否使用乳头封闭剂")
    private Long status;

    /** 转入羊舍id */
    @Excel(name = "转入羊舍id")
    private Long sheepfold;

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

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

    // 以下为联表查询字段，不存储在sc_dry_milk表中

    /** 管理耳号 */
    @Excel(name = "耳号")
    private String manageTags;

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

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

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


}