chenlu
2024-05-16 6edc05acd8bb1de3bedbf093c618d429c62d446b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
}