企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
~~~ package net.youworker.domain; import lombok.Data; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; import javax.persistence.*; /** * @author: hcf * @qq: 46914685 * @email: 46914685@qq.com * @date: 2020-01-07 10:37 */ @Entity @Table(name = "cst_customer") @Data @DynamicUpdate @DynamicInsert public class Customer { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "cust_id") private Long custId; // 客户名称 @Column(name = "cust_name") private String custName; // 客户来源 @Column(name = "cust_source") private String custSource; //客户级别 @Column(name = "cust_level") private String custLevel; //客户所属行业 @Column(name = "cust_industry") private String custIndustry; // 客户的联系方式 @Column(name = "cust_phone") private String custPhone; // 客户地址 @Column(name = "cust_address") private String custAddress; } ~~~