DDDDD---BINGTU,BOATUSER

develop
Angel 9 months ago
parent 134ccc7c00
commit 28f74774e2

@ -28,7 +28,7 @@ public class BoatUserInfoController extends BaseController {
@ApiOperation("查询船员信息表")
public TableDataInfo<BoatUserInfo> list(BoatUserInfo boatUserInfo){
startPage();
List<BoatUserInfo> list = boatUserInfoService.list(new QueryWrapper<>());
List<BoatUserInfo> list = boatUserInfoService.list(new QueryWrapper<>(boatUserInfo));
return getDataTable(list);
}
}

@ -1,6 +1,8 @@
package com.ruoyi.database.domain;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.Size;
@ -10,218 +12,61 @@ import java.io.Serializable;
*
* @TableName boat_user_info
*/
@TableName(value ="boat_user_info")
@Data
public class BoatUserInfo implements Serializable {
/**
*
*/
@Size(max= 20,message="编码长度不能超过20")
@ApiModelProperty("姓名")
@Length(max= 20,message="编码长度不能超过20")
private String name;
/**
*
*/
@Size(max= 100,message="编码长度不能超过100")
@ApiModelProperty("身份证")
@Length(max= 100,message="编码长度不能超过100")
private String idCard;
/**
*
*/
@Size(max= 20,message="编码长度不能超过20")
@ApiModelProperty("手机号码")
@Length(max= 20,message="编码长度不能超过20")
private String phone;
/**
*
*/
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("户籍地址")
@Length(max= 255,message="编码长度不能超过255")
private String registeredResidenceAddress;
/**
*
*/
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("长期居住地")
@Length(max= 255,message="编码长度不能超过255")
private String longtimeLiveAddress;
/**
*
*/
@Size(max= 50,message="编码长度不能超过50")
@ApiModelProperty("船名")
@Length(max= 50,message="编码长度不能超过50")
private String boatName;
/**
*
*/
@Size(max= 50,message="编码长度不能超过50")
@ApiModelProperty("船舶证号")
@Length(max= 50,message="编码长度不能超过50")
private String shipCertificateNumber;
/**
*
*/
@Size(max= 30,message="编码长度不能超过30")
@ApiModelProperty("停泊港")
@Length(max= 30,message="编码长度不能超过30")
private String portOfCall;
/**
*
*/
@Size(max= 30,message="编码长度不能超过30")
@ApiModelProperty("报备日期")
@Length(max= 30,message="编码长度不能超过30")
private String reportingTime;
/**
*
*/
@Size(max= 50,message="编码长度不能超过50")
@ApiModelProperty("所属派出所")
@Length(max= 50,message="编码长度不能超过50")
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;
}
}

Loading…
Cancel
Save