package com.boying.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.boying.common.BaseEntity;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import javax.persistence.Entity;
|
import java.util.Date;
|
|
/**
|
* @author kdq
|
* @version 1.0.0
|
* @ClassName Ticket.java
|
* @Description TODO
|
* @createTime 2022年11月19日 21:10:00
|
*/
|
@Data
|
@TableName("ticket")
|
@javax.persistence.Table(name = "ticket")
|
@Entity
|
@org.hibernate.annotations.Table(appliesTo = "ticket", comment = "票据表")
|
@ApiModel(value = "街道表")
|
public class Ticket extends BaseEntity<Ticket> {
|
|
/**
|
* 车牌号
|
*/
|
private String carNo;
|
|
/**
|
* 违章类型id
|
*/
|
private Integer violationTypeId;
|
/**
|
* 开单人
|
*/
|
private Integer userId;
|
/**
|
* 图片证据
|
*/
|
private String img;
|
/**
|
* 影像证据
|
*/
|
private String video;
|
/**
|
* 状态(0:未处理,1:已处理,2:未完成 3:撤销)
|
*/
|
private int status;
|
/**
|
* 地点
|
*/
|
private String address;
|
/**
|
* 0:现场处罚 1:上级任务 2:违章拖车
|
*/
|
private int type;
|
|
private String lng;
|
|
private String lat;
|
/**
|
* 车辆颜色
|
*/
|
private String color;
|
/**
|
* 车辆类型
|
*/
|
private String carType;
|
/**
|
* 备注
|
*/
|
private String remark;
|
/**
|
* 订单号
|
*/
|
private String code;
|
/**
|
* 缴款码
|
*/
|
private String payCode;
|
/**
|
* 缴款状态(0:待缴费 1:已缴费 2:支付失败)
|
*/
|
private int payStatus;
|
/**
|
* 处罚金额
|
*/
|
private double money;
|
/**
|
* 缴费时间
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date payTime;
|
/**
|
* 处理期限日期
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date dealEndTime;
|
|
private String userName;
|
private String violationTypeName;
|
private String qrUrl;
|
}
|