package com.ruoyi.web.work.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;
/**
 * @author zeng
 * @date 2024-07-18
 */
@Data
@TableName(value = "tb_ward_info")
@Accessors(chain = true)
public class WardInfo{
    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "医疗机构ID")
    private String orgCode;

    @ApiModelProperty(value = "病区代码")
    private String wardCode;

    @ApiModelProperty(value = "病区名称")
    private String wardName;

    @ApiModelProperty(value = "拼音码")
    private String py;

    @ApiModelProperty(value = "五笔码")
    private String wb;

    @ApiModelProperty(value = "助记码")
    private String inputCode;

    @ApiModelProperty(value = "床位数量")
    private Long bedNumber;

    @ApiModelProperty(value = "病区类别")
    private String wardTypeCode;

    @ApiModelProperty(value = "家床标志")
    private String homeBedSign;

    @ApiModelProperty(value = "特殊病区标志")
    private String specialWardSign;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "有效开始日期时间")
    private String validStartDTime;

    @ApiModelProperty(value = "有效结束日期时间")
    private String validEndDTime;

    @ApiModelProperty(value = "有效标志")
    private String activeSign;

    @ApiModelProperty(value = "版本号")
    private String verNo;

    @ApiModelProperty(value = "病区排序序号")
    private String orderno;

    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField(fill = FieldFill.UPDATE)
    private String updateBy;

    @TableField(fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
