10-20-修复字段
This commit is contained in:
@ -1,11 +1,15 @@
|
||||
package org.dromara.xzd.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 质保金归还约定对象 xzd_zbjghyd
|
||||
@ -37,10 +41,17 @@ public class XzdZbjghyd extends BaseEntity {
|
||||
*/
|
||||
private Long zbq;
|
||||
|
||||
/**
|
||||
* 归还日期
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date ghrq;
|
||||
|
||||
/**
|
||||
* 归还比例
|
||||
*/
|
||||
private Long ghbl;
|
||||
private BigDecimal ghbl;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
package org.dromara.xzd.domain.bo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.xzd.domain.XzdZbjghyd;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import org.dromara.common.core.validate.EditGroup;
|
||||
@ -7,6 +8,10 @@ import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 质保金归还约定业务对象 xzd_zbjghyd
|
||||
@ -35,10 +40,17 @@ public class XzdZbjghydBo extends BaseEntity {
|
||||
*/
|
||||
private Long zbq;
|
||||
|
||||
/**
|
||||
* 归还日期
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date ghrq;
|
||||
|
||||
/**
|
||||
* 归还比例
|
||||
*/
|
||||
private Long ghbl;
|
||||
private BigDecimal ghbl;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
|
||||
@ -1,13 +1,17 @@
|
||||
package org.dromara.xzd.domain.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.dromara.xzd.domain.XzdZbjghyd;
|
||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
/**
|
||||
@ -42,11 +46,18 @@ public class XzdZbjghydVo implements Serializable {
|
||||
@ExcelProperty(value = "质保期(月份)")
|
||||
private Long zbq;
|
||||
|
||||
/**
|
||||
* 归还日期
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date ghrq;
|
||||
|
||||
/**
|
||||
* 归还比例
|
||||
*/
|
||||
@ExcelProperty(value = "归还比例")
|
||||
private Long ghbl;
|
||||
private BigDecimal ghbl;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
|
||||
Reference in New Issue
Block a user