package com.zhyc.module.biosafety.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;

/**
 * 消毒记录对象 sw_disinfect
 * 
 * @author ruoyi
 * @date 2025-07-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Disinfect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

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

    private Integer sheepfoldId;

    private Integer[] sheepfoldIds;

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

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

    /** 消毒方式 */
    @Excel(name = "消毒方式")
    private String way;

    /** 药品使用记录id */
    @Excel(name = "药品使用记录id")
    private Integer usageId;

    /** 比例 */
    @Excel(name = "比例")
    private String ratio;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;
/**  药品名称用于查询*/
    private String mediName;

    private Long userId;
    private Long deptId;

    //    药品使用
    private List<SwMedicineUsageDetails> usageDetails;

}
