package com.zhyc.module.biosafety.domain;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhyc.common.annotation.Excel;
import com.zhyc.common.core.domain.BaseEntity;

/**
 * 处方对象 sw_prescription
 * 
 * @author ruoyi
 * @date 2025-07-11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SwPrescription extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 处方编号 */
    @Excel(name = "处方编号")
    private String no;

    /** 处方名称 */
    @Excel(name = "处方名称")
    private String name;

    /** 类型（免疫/保健/驱虫/消毒/疾病治疗） */
    @Excel(name = "类型", readConverterExp = "免疫/保健/驱虫/消毒/疾病治疗")
    private Integer persType;

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

    /** 状态(0禁用1启用) */
    @Excel(name = "状态(0禁用1启用)")
    private Integer status;

    /** 处方详情信息 */
    private List<SwPresDetail> swPresDetailList;

}
