package com.nova.sankuai.domain.vo; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; /** * @author weikangdi * @create 2021/11/10 */ @ApiModel("充值记录VO") @Data public class RechargeRecordVo { @ApiModelProperty(value = "主键") @JsonFormat(shape = JsonFormat.Shape.STRING) private Long id; @ApiModelProperty(value = "机构手机号") private String phone; @ApiModelProperty(value = "机构ID") @JsonFormat(shape = JsonFormat.Shape.STRING) private Long mechanismId; @ApiModelProperty(value = "机构名") private String mechanismName; @ApiModelProperty(value = "充值金额") private Double rechargeAmount; @ApiModelProperty(value = "消耗金额") private Double useAmount; @ApiModelProperty(value = "充值时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date creationDate; @ApiModelProperty(value = "状态 0-正常 1-退费") private Integer status; @ApiModelProperty(value = "备注") private String memo; }