package com.ruoyi.project.domain;
|
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/**
|
* 器官分配对象 service_organallocation
|
*
|
* @author ruoyi
|
* @date 2021-11-10
|
*/
|
@Data
|
@ApiModel("器官分配")
|
public class ServiceOrganallocation extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* $column.columnComment
|
*/
|
@ApiModelProperty("$column.columnComment")
|
//数据库自增改成@TableId(type = IdType.AUTO)
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 对应器官表service_donateorgan的ID
|
*/
|
@Excel(name = "对应器官表service_donateorgan的ID")
|
private Long organid;
|
|
/**
|
* 器官编号
|
*/
|
@ApiModelProperty("器官编号")
|
@Excel(name = "器官编号")
|
private String organnumber;
|
|
/**
|
* 申请人编号
|
*/
|
@Excel(name = "申请人编号")
|
@ApiModelProperty("申请人编号")
|
private String applicantuserid;
|
|
/**
|
* 申请人姓名
|
*/
|
@ApiModelProperty("申请人姓名")
|
@Excel(name = "申请人姓名")
|
private String applicantusername;
|
|
/**
|
* 申请时间
|
*/
|
@ApiModelProperty("申请时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date applicanttime;
|
|
/**
|
* 审核人编号
|
*/
|
@ApiModelProperty("审核人编号")
|
@Excel(name = "审核人编号")
|
private String checkuserid;
|
|
/**
|
* 审核人姓名
|
*/
|
@ApiModelProperty("审核人姓名")
|
@Excel(name = "审核人姓名")
|
private String checkusername;
|
|
/**
|
* 审核时间
|
*/
|
@ApiModelProperty("审核时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date checktime;
|
|
/**
|
* 审核意见
|
*/
|
@ApiModelProperty("审核意见")
|
@Excel(name = "审核意见")
|
private String checksuggestion;
|
|
/**
|
* 0:提交分配;1:审核通过;2:审核拒绝
|
*/
|
@Excel(name = "0:提交分配;1:审核通过;2:审核拒绝")
|
@ApiModelProperty("分配状态")
|
private Long allocationstatus;
|
|
/**
|
* 移植人姓名
|
*/
|
@ApiModelProperty("移植人姓名")
|
@Excel(name = "移植人姓名")
|
private String name;
|
|
/**
|
* 移植人性别 根据字典sys_user_sex
|
*/
|
@Excel(name = "移植人性别 根据字典sys_user_sex")
|
@ApiModelProperty("移植人性别")
|
private Long sex;
|
|
/**
|
* 移植人证件类型 根据字典sys_IDType
|
*/
|
@ApiModelProperty("移植人证件类型")
|
@Excel(name = "移植人证件类型 根据字典sys_IDType")
|
private Long idcardtype;
|
|
/**
|
* 移植人证件号码
|
*/
|
@ApiModelProperty("移植人证件号码")
|
@Excel(name = "移植人证件号码")
|
private String idcardno;
|
|
/**
|
* 移植人年龄
|
*/
|
@ApiModelProperty("移植人年龄")
|
@Excel(name = "移植人年龄")
|
private Long age;
|
|
/**
|
* 移植人年龄单位 根据字典sys_AgeUnit
|
*/
|
@Excel(name = "移植人年龄单位 根据字典sys_AgeUnit")
|
@ApiModelProperty("移植人年龄单位")
|
private String ageunit;
|
|
/**
|
* 移植人出生日期
|
*/
|
@Excel(name = "移植人出生日期")
|
@ApiModelProperty("移植人出生日期")
|
private String birthday;
|
|
/**
|
* 移植人联系电话
|
*/
|
@Excel(name = "移植人联系电话")
|
@ApiModelProperty("移植人联系电话")
|
private String phone;
|
|
/**
|
* 移植人现住地址
|
*/
|
@Excel(name = "移植人现住地址")
|
@ApiModelProperty("移植人现住地址")
|
private String residenceaddress;
|
|
/**
|
* 移植人现住地址省代码
|
*/
|
@Excel(name = "移植人现住地址省代码")
|
@ApiModelProperty("移植人现住地址省代码")
|
private String residenceprovince;
|
|
/**
|
* 移植人现住地址省名称
|
*/
|
@Excel(name = "移植人现住地址省名称")
|
@ApiModelProperty("移植人现住地址省名称")
|
private String residenceprovincename;
|
|
/**
|
* 移植人市编号 根据行政区划表
|
*/
|
@Excel(name = "移植人市编号 根据行政区划表")
|
@ApiModelProperty("移植人市编号 根据行政区划表")
|
private String residencecity;
|
|
/**
|
* 移植人市名称
|
*/
|
@Excel(name = "移植人市名称")
|
@ApiModelProperty("移植人市名称")
|
private String residencecityname;
|
|
/**
|
* 移植人所属街道(镇)根据行政区划表
|
*/
|
@Excel(name = "移植人所属街道", readConverterExp = "镇=")
|
@ApiModelProperty("移植人所属街道(镇)根据行政区划表")
|
private String residencetown;
|
|
/**
|
* 移植人所属街道(镇)名称
|
*/
|
@Excel(name = "移植人所属街道", readConverterExp = "镇=")
|
@ApiModelProperty("移植人所属街道(镇)名称")
|
private String residencetownname;
|
|
/**
|
* 移植人社区(村)编号 根据行政区划表
|
*/
|
@Excel(name = "移植人社区", readConverterExp = "村=")
|
@ApiModelProperty("移植人社区(村)编号 根据行政区划表")
|
private String residencecommunity;
|
|
/**
|
* 移植人社区(村)名称
|
*/
|
@Excel(name = "移植人社区", readConverterExp = "村=")
|
@ApiModelProperty("移植人社区(村)名称")
|
private String residencecommunityname;
|
|
/**
|
* 移植人所属区域编号 根据行政区划表
|
*/
|
@Excel(name = "移植人所属区域编号 根据行政区划表")
|
@ApiModelProperty("移植人所属区域编号 根据行政区划表")
|
private String residencecountycode;
|
|
/**
|
* 移植人所属区域名称
|
*/
|
@Excel(name = "移植人所属区域名称")
|
@ApiModelProperty("移植人所属区域名称")
|
private String residencecountyname;
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@TableField(exist = false)
|
private Date starttime;
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@TableField(exist = false)
|
private Date endtime;
|
|
@TableField(exist = false)
|
private String city;
|
|
/**
|
* 报告者编号
|
*/
|
@TableField(exist = false)
|
private String reporterno;
|
|
}
|