New file |
| | |
| | | package com.dsh.course.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | @TableName("t_img") |
| | | public class Img { |
| | | //主键 |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | @TableField("id") |
| | | private Integer id; |
| | | //图片类型(1=启动页,2=引导页,3=icon) |
| | | @TableField("type") |
| | | private Integer type; |
| | | //应用端口(1用户端,2=司机端) |
| | | @TableField("usePort") |
| | | private Integer usePort; |
| | | //名称 |
| | | @TableField("name") |
| | | private String name; |
| | | //图片地址 |
| | | @TableField("url") |
| | | private String url; |
| | | //排序 |
| | | @TableField("sort") |
| | | private Integer sort; |
| | | //状态(1=正常,2=冻结,3=删除)1:normal 2:freeze 3:delete |
| | | @TableField("state") |
| | | private Integer state; |
| | | //添加时间 |
| | | @TableField("insertTime") |
| | | private Date insertTime; |
| | | } |