by-crm/backend/src/main/java/com/bycrm/entity/Customer.java
2026-01-26 16:01:15 +08:00

59 lines
943 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.bycrm.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* 客户实体
*/
@Data
public class Customer implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 客户ID
*/
private Long id;
/**
* 客户名称
*/
private String name;
/**
* 联系电话
*/
private String phone;
/**
* 地址
*/
private String address;
/**
* 所属行业
*/
private String industry;
/**
* 状态0-可报备 1-保护中 2-已失效
*/
private Integer status;
/**
* 创建时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime createdAt;
/**
* 更新时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime updatedAt;
}