123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- package com.fdkankan.sale.entity;
- import com.alibaba.fastjson.JSONArray;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableLogic;
- import com.baomidou.mybatisplus.annotation.TableName;
- import java.io.Serializable;
- import java.math.BigDecimal;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.fdkankan.sale.typehandle.JsonArrayTypeHandler;
- import lombok.Getter;
- import lombok.Setter;
- import org.apache.ibatis.type.JdbcType;
- /**
- * <p>
- *
- * </p>
- *
- * @author
- * @since 2022-12-12
- */
- @Getter
- @Setter
- @TableName(value = "t_repair",autoResultMap = true)
- public class Repair implements Serializable {
- private static final long serialVersionUID = 1L;
- /**
- * 报修表 工单号
- */
- @TableId(value = "repair_id")
- private String repairId;
- /**
- * 相机编码
- */
- @TableField("camera_sn_code")
- private String cameraSnCode;
- /**
- * 相机类型
- */
- @TableField("camera_type")
- private Integer cameraType;
- /**
- * 故障描述
- */
- @TableField("fault_msg")
- private String faultMsg;
- /**
- * 故障相关图片
- */
- @TableField(typeHandler= JsonArrayTypeHandler.class)
- private JSONArray faultImg;
- /**
- * 状态0待接单,1待检测,2待报价,3待确认,4已取消,5待备料,6待回收,7维修中,8待测试,9已完成,10待收货,11已发货,12已评价
- */
- @TableField("status")
- private Integer status;
- /**
- * 评论状态 0 未评论,1已评论
- */
- @TableField("comment_status")
- private Integer commentStatus;
- /**
- * 是否需要开发票0未填写,1是,2否
- */
- @TableField("invoice_status")
- private Integer invoiceStatus;
- /**
- * 备注
- */
- @TableField("remark")
- private String remark;
- /**
- * 接单类型,0系统录单,1客户报修
- */
- @TableField("receiver_type")
- private Integer receiverType;
- @TableField("rec_status")
- @TableLogic(value = "A",delval = "I")
- private String recStatus;
- @TableField("create_time")
- private String createTime;
- @TableField("update_time")
- private String updateTime;
- @TableField("sys_user_id")
- private Long sysUserId;
- /**
- * 保修界满日期
- */
- @TableField("warranty_date")
- private String warrantyDate;
- /**
- * 0保内维修 ,1保内维修-人为损坏 = 保外 ,2保外维修,3保外转保内
- */
- @TableField("warranty_type")
- private Integer warrantyType;
- /**
- * 是否取消维修,0 否,1是
- */
- @TableField("cancel_status")
- private Integer cancelStatus;
- @TableField("cancel_remark")
- private String cancelRemark;
- @TableField("repair_type")
- private String repairType;
- @TableField("repair_item")
- private String repairItem;
- @TableField("fault_version")
- private String faultVersion;
- @TableField(exist = false)
- @JsonFormat(shape = JsonFormat.Shape.STRING)
- private BigDecimal payAmount;
- }
|