package com.ruoyi.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author ojq
|
* @since 2023-03-14
|
*/
|
@TableName("z_child")
|
public class ZChild implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 本人id
|
*/
|
private Integer userId;
|
|
/**
|
* 配偶id
|
*/
|
private Integer spouseId;
|
|
/**
|
* 孩子姓名
|
*/
|
private String childName;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Integer userId) {
|
this.userId = userId;
|
}
|
|
public Integer getSpouseId() {
|
return spouseId;
|
}
|
|
public void setSpouseId(Integer spouseId) {
|
this.spouseId = spouseId;
|
}
|
|
public String getChildName() {
|
return childName;
|
}
|
|
public void setChildName(String childName) {
|
this.childName = childName;
|
}
|
|
@Override
|
public String toString() {
|
return "ZChild{" +
|
"id=" + id +
|
", userId=" + userId +
|
", spouseId=" + spouseId +
|
", childName=" + childName +
|
"}";
|
}
|
}
|