package cn.besteam.modules.medical.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 处置单位管理
|
*
|
* @author besteam
|
* @date 2023-07-29
|
*/
|
@Data
|
@TableName("mw_disposal_unit")
|
@ApiModel("处置单位管理实体类")
|
public class MwDisposalUnit implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键ID
|
*/
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 医院ID
|
*/
|
private Integer hospitalId;
|
|
/**
|
* 处置单位名称
|
*/
|
private String unitName;
|
|
/**
|
* 负责人
|
*/
|
private String contactPerson;
|
|
/**
|
* 联系电话
|
*/
|
private String contactPhone;
|
|
/**
|
* 处置方式
|
*/
|
private String disposalMethod;
|
|
/**
|
* 服务开始日期
|
*/
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private java.util.Date serviceStartDate;
|
|
/**
|
* 服务结束日期
|
*/
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private java.util.Date serviceEndDate;
|
|
/**
|
* 状态:1-启用,0-禁用
|
*/
|
private Integer status;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
/**
|
* 删除标志:0-未删除,1-已删除
|
*/
|
private Integer delFlag;
|
|
/**
|
* 创建人
|
*/
|
private String createBy;
|
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/**
|
* 更新人
|
*/
|
private String updateBy;
|
|
/**
|
* 更新时间
|
*/
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date updateTime;
|
|
/**
|
* 所属医院层级结构(用英文逗号分隔,如1,2)
|
*/
|
@ApiModelProperty(value = "所属医院层级结构")
|
private String relation;
|
}
|