|
|
@ -1,6 +1,8 @@
|
|
|
|
package com.ruoyi.database.domain;
|
|
|
|
package com.ruoyi.database.domain;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
import org.hibernate.validator.constraints.Length;
|
|
|
|
import org.hibernate.validator.constraints.Length;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.Size;
|
|
|
|
import javax.validation.constraints.Size;
|
|
|
@ -10,218 +12,61 @@ import java.io.Serializable;
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @TableName boat_user_info
|
|
|
|
* @TableName boat_user_info
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@TableName(value ="boat_user_info")
|
|
|
|
|
|
|
|
@Data
|
|
|
|
public class BoatUserInfo implements Serializable {
|
|
|
|
public class BoatUserInfo implements Serializable {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 姓名
|
|
|
|
* 姓名
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Size(max= 20,message="编码长度不能超过20")
|
|
|
|
|
|
|
|
@ApiModelProperty("姓名")
|
|
|
|
@ApiModelProperty("姓名")
|
|
|
|
@Length(max= 20,message="编码长度不能超过20")
|
|
|
|
|
|
|
|
private String name;
|
|
|
|
private String name;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 身份证
|
|
|
|
* 身份证
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Size(max= 100,message="编码长度不能超过100")
|
|
|
|
|
|
|
|
@ApiModelProperty("身份证")
|
|
|
|
@ApiModelProperty("身份证")
|
|
|
|
@Length(max= 100,message="编码长度不能超过100")
|
|
|
|
|
|
|
|
private String idCard;
|
|
|
|
private String idCard;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 手机号码
|
|
|
|
* 手机号码
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Size(max= 20,message="编码长度不能超过20")
|
|
|
|
|
|
|
|
@ApiModelProperty("手机号码")
|
|
|
|
@ApiModelProperty("手机号码")
|
|
|
|
@Length(max= 20,message="编码长度不能超过20")
|
|
|
|
|
|
|
|
private String phone;
|
|
|
|
private String phone;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 户籍地址
|
|
|
|
* 户籍地址
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Size(max= 255,message="编码长度不能超过255")
|
|
|
|
|
|
|
|
@ApiModelProperty("户籍地址")
|
|
|
|
@ApiModelProperty("户籍地址")
|
|
|
|
@Length(max= 255,message="编码长度不能超过255")
|
|
|
|
|
|
|
|
private String registeredResidenceAddress;
|
|
|
|
private String registeredResidenceAddress;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 长期居住地
|
|
|
|
* 长期居住地
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Size(max= 255,message="编码长度不能超过255")
|
|
|
|
|
|
|
|
@ApiModelProperty("长期居住地")
|
|
|
|
@ApiModelProperty("长期居住地")
|
|
|
|
@Length(max= 255,message="编码长度不能超过255")
|
|
|
|
|
|
|
|
private String longtimeLiveAddress;
|
|
|
|
private String longtimeLiveAddress;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 船名
|
|
|
|
* 船名
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Size(max= 50,message="编码长度不能超过50")
|
|
|
|
|
|
|
|
@ApiModelProperty("船名")
|
|
|
|
@ApiModelProperty("船名")
|
|
|
|
@Length(max= 50,message="编码长度不能超过50")
|
|
|
|
|
|
|
|
private String boatName;
|
|
|
|
private String boatName;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 船舶证号
|
|
|
|
* 船舶证号
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Size(max= 50,message="编码长度不能超过50")
|
|
|
|
|
|
|
|
@ApiModelProperty("船舶证号")
|
|
|
|
@ApiModelProperty("船舶证号")
|
|
|
|
@Length(max= 50,message="编码长度不能超过50")
|
|
|
|
|
|
|
|
private String shipCertificateNumber;
|
|
|
|
private String shipCertificateNumber;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 停泊港
|
|
|
|
* 停泊港
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Size(max= 30,message="编码长度不能超过30")
|
|
|
|
|
|
|
|
@ApiModelProperty("停泊港")
|
|
|
|
@ApiModelProperty("停泊港")
|
|
|
|
@Length(max= 30,message="编码长度不能超过30")
|
|
|
|
|
|
|
|
private String portOfCall;
|
|
|
|
private String portOfCall;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 报备日期
|
|
|
|
* 报备日期
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Size(max= 30,message="编码长度不能超过30")
|
|
|
|
|
|
|
|
@ApiModelProperty("报备日期")
|
|
|
|
@ApiModelProperty("报备日期")
|
|
|
|
@Length(max= 30,message="编码长度不能超过30")
|
|
|
|
|
|
|
|
private String reportingTime;
|
|
|
|
private String reportingTime;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 所属派出所
|
|
|
|
* 所属派出所
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Size(max= 50,message="编码长度不能超过50")
|
|
|
|
|
|
|
|
@ApiModelProperty("所属派出所")
|
|
|
|
@ApiModelProperty("所属派出所")
|
|
|
|
@Length(max= 50,message="编码长度不能超过50")
|
|
|
|
|
|
|
|
private String belongingToPoliceStation;
|
|
|
|
private String belongingToPoliceStation;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 姓名
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private void setName(String name){
|
|
|
|
|
|
|
|
this.name = name;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 身份证
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private void setIdCard(String idCard){
|
|
|
|
|
|
|
|
this.idCard = idCard;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 手机号码
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private void setPhone(String phone){
|
|
|
|
|
|
|
|
this.phone = phone;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 户籍地址
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private void setRegisteredResidenceAddress(String registeredResidenceAddress){
|
|
|
|
|
|
|
|
this.registeredResidenceAddress = registeredResidenceAddress;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 长期居住地
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private void setLongtimeLiveAddress(String longtimeLiveAddress){
|
|
|
|
|
|
|
|
this.longtimeLiveAddress = longtimeLiveAddress;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 船名
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private void setBoatName(String boatName){
|
|
|
|
|
|
|
|
this.boatName = boatName;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 船舶证号
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private void setShipCertificateNumber(String shipCertificateNumber){
|
|
|
|
|
|
|
|
this.shipCertificateNumber = shipCertificateNumber;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 停泊港
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private void setPortOfCall(String portOfCall){
|
|
|
|
|
|
|
|
this.portOfCall = portOfCall;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 报备日期
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private void setReportingTime(String reportingTime){
|
|
|
|
|
|
|
|
this.reportingTime = reportingTime;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 所属派出所
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private void setBelongingToPoliceStation(String belongingToPoliceStation){
|
|
|
|
|
|
|
|
this.belongingToPoliceStation = belongingToPoliceStation;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 姓名
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private String getName(){
|
|
|
|
|
|
|
|
return this.name;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 身份证
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private String getIdCard(){
|
|
|
|
|
|
|
|
return this.idCard;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 手机号码
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private String getPhone(){
|
|
|
|
|
|
|
|
return this.phone;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 户籍地址
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private String getRegisteredResidenceAddress(){
|
|
|
|
|
|
|
|
return this.registeredResidenceAddress;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 长期居住地
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private String getLongtimeLiveAddress(){
|
|
|
|
|
|
|
|
return this.longtimeLiveAddress;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 船名
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private String getBoatName(){
|
|
|
|
|
|
|
|
return this.boatName;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 船舶证号
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private String getShipCertificateNumber(){
|
|
|
|
|
|
|
|
return this.shipCertificateNumber;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 停泊港
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private String getPortOfCall(){
|
|
|
|
|
|
|
|
return this.portOfCall;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 报备日期
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private String getReportingTime(){
|
|
|
|
|
|
|
|
return this.reportingTime;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 所属派出所
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private String getBelongingToPoliceStation(){
|
|
|
|
|
|
|
|
return this.belongingToPoliceStation;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|