New file |
| | |
| | | package cn.exrick.xboot.your.entity; |
| | | |
| | | import cn.exrick.xboot.core.base.XbootBaseEntity; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.hibernate.annotations.DynamicInsert; |
| | | import org.hibernate.annotations.DynamicUpdate; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Table; |
| | | import javax.persistence.Transient; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @author Exrick |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @DynamicInsert |
| | | @DynamicUpdate |
| | | @Table(name = "t_suggest") |
| | | @TableName("t_suggest") |
| | | @ApiModel(value = "维修记录") |
| | | public class Suggest extends XbootBaseEntity { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty(value = "意见分类字典表id") |
| | | private String dictDataId; |
| | | |
| | | @ApiModelProperty(value = "内容") |
| | | private String content; |
| | | |
| | | @ApiModelProperty(value = "商户ID") |
| | | private String customerId; |
| | | |
| | | @ApiModelProperty(value = "司机或随车员id") |
| | | private String userId; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | private String name; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | private String title; |
| | | } |