New file |
| | |
| | | package com.example.erp.entity.sd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import lombok.Data; |
| | | |
| | | @Data |
| | | public class Customer { |
| | | @TableId(type = IdType.AUTO) |
| | | |
| | | private Long id; |
| | | private String customerName; |
| | | private String grade; |
| | | private Double moneyLimit; |
| | | private String address; |
| | | private String contact; |
| | | private String phone; |
| | | |
| | | @TableField(select = false,exist = false) |
| | | private String project; |
| | | @TableField(select = false,exist = false) |
| | | private Integer salesmanId; |
| | | @TableField(select = false,exist = false) |
| | | private String salesman; |
| | | } |