New file |
| | |
| | | package com.dsh.guns.modular.system.model; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 车辆保险 |
| | | */ |
| | | @TableName("t_car_insurance") |
| | | public class CarInsurance { |
| | | /** |
| | | * 主键 |
| | | */ |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | @TableField("id") |
| | | private Integer id; |
| | | /** |
| | | * 车辆id |
| | | */ |
| | | @TableField("carId") |
| | | private Integer carId; |
| | | /** |
| | | * 保险公司名称 |
| | | */ |
| | | @TableField("insurCom") |
| | | private String insurCom; |
| | | /** |
| | | * 保险号 |
| | | */ |
| | | @TableField("insurNum") |
| | | private String insurNum; |
| | | /** |
| | | * 保险类型 |
| | | */ |
| | | @TableField("insurType") |
| | | private String insurType; |
| | | /** |
| | | * 保险金额 |
| | | */ |
| | | @TableField("insurCount") |
| | | private Double insurCount; |
| | | /** |
| | | * 保险生效日期 |
| | | */ |
| | | @TableField("insurEff") |
| | | private Date insurEff; |
| | | /** |
| | | * 保险到期日期 |
| | | */ |
| | | @TableField("insurExp") |
| | | private Date insurExp; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getCarId() { |
| | | return carId; |
| | | } |
| | | |
| | | public void setCarId(Integer carId) { |
| | | this.carId = carId; |
| | | } |
| | | |
| | | public String getInsurCom() { |
| | | return insurCom; |
| | | } |
| | | |
| | | public void setInsurCom(String insurCom) { |
| | | this.insurCom = insurCom; |
| | | } |
| | | |
| | | public String getInsurNum() { |
| | | return insurNum; |
| | | } |
| | | |
| | | public void setInsurNum(String insurNum) { |
| | | this.insurNum = insurNum; |
| | | } |
| | | |
| | | public String getInsurType() { |
| | | return insurType; |
| | | } |
| | | |
| | | public void setInsurType(String insurType) { |
| | | this.insurType = insurType; |
| | | } |
| | | |
| | | public Double getInsurCount() { |
| | | return insurCount; |
| | | } |
| | | |
| | | public void setInsurCount(Double insurCount) { |
| | | this.insurCount = insurCount; |
| | | } |
| | | |
| | | public Date getInsurEff() { |
| | | return insurEff; |
| | | } |
| | | |
| | | public void setInsurEff(Date insurEff) { |
| | | this.insurEff = insurEff; |
| | | } |
| | | |
| | | public Date getInsurExp() { |
| | | return insurExp; |
| | | } |
| | | |
| | | public void setInsurExp(Date insurExp) { |
| | | this.insurExp = insurExp; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "CarInsurance{" + |
| | | "id=" + id + |
| | | ", carId=" + carId + |
| | | ", insurCom='" + insurCom + '\'' + |
| | | ", insurNum='" + insurNum + '\'' + |
| | | ", insurType='" + insurType + '\'' + |
| | | ", insurCount=" + insurCount + |
| | | ", insurEff=" + insurEff + |
| | | ", insurExp=" + insurExp + |
| | | '}'; |
| | | } |
| | | } |