1、调整币种汇率模块
2、新增保险记录模块 3、新增违章记录模块 4、新增换胎记录模块 5、新增事故记录模块 6、新增年检记录模块 7、新增里程记录模块 8、新增变更记录模块 9、新增油电记录模块 10、新增ETC记录模块 11、新增其他费用记录模块
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
*/
|
||||
package org.springblade.system.pojo.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
@@ -33,16 +35,17 @@ import org.springblade.core.mp.base.BaseEntity;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
* 币种主数据实体类
|
||||
* 币种汇率实体类
|
||||
*
|
||||
* @author Chill
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("blade_currency")
|
||||
@Schema(description = "币种主数据")
|
||||
@Schema(description = "币种汇率")
|
||||
public class Currency extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
@@ -78,6 +81,17 @@ public class Currency extends BaseEntity {
|
||||
*/
|
||||
@Schema(description = "汇率")
|
||||
private BigDecimal exchangeRate;
|
||||
/**
|
||||
* 生效日期
|
||||
*/
|
||||
@Schema(description = "生效日期")
|
||||
private LocalDate effectiveDate;
|
||||
/**
|
||||
* 失效日期
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.ALWAYS)
|
||||
@Schema(description = "失效日期")
|
||||
private LocalDate expiryDate;
|
||||
/**
|
||||
* 是否本位币
|
||||
*/
|
||||
|
||||
@@ -52,4 +52,11 @@ public class AirportMasterVO extends AirportMaster {
|
||||
@Schema(description = "导入错误信息")
|
||||
private String errorMessage;
|
||||
|
||||
/**
|
||||
* 更新人姓名
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "更新人姓名")
|
||||
private String updateUserName;
|
||||
|
||||
}
|
||||
|
||||
@@ -30,17 +30,20 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springblade.system.pojo.entity.Currency;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 币种主数据视图实体类
|
||||
* 币种汇率视图实体类
|
||||
*
|
||||
* @author Chill
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Schema(description = "币种主数据")
|
||||
@Schema(description = "币种汇率")
|
||||
public class CurrencyVO extends Currency {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -52,4 +55,39 @@ public class CurrencyVO extends Currency {
|
||||
@Schema(description = "导入错误信息")
|
||||
private String errorMessage;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "业务日期")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate businessDate;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "生效日期开始")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate effectiveDateStart;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "生效日期结束")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate effectiveDateEnd;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "失效日期开始")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate expiryDateStart;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "失效日期结束")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate expiryDateEnd;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "更新时间开始")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTimeStart;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "更新时间结束")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTimeEnd;
|
||||
|
||||
}
|
||||
|
||||
@@ -52,4 +52,11 @@ public class PortTerminalVO extends PortTerminal {
|
||||
@Schema(description = "导入错误信息")
|
||||
private String errorMessage;
|
||||
|
||||
/**
|
||||
* 更新人姓名
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "更新人姓名")
|
||||
private String updateUserName;
|
||||
|
||||
}
|
||||
|
||||
@@ -52,4 +52,11 @@ public class RailwayStationVO extends RailwayStation {
|
||||
@Schema(description = "导入错误信息")
|
||||
private String errorMessage;
|
||||
|
||||
/**
|
||||
* 更新人姓名
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
@Schema(description = "更新人姓名")
|
||||
private String updateUserName;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user