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

69 lines
1.1 KiB
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 Dealer implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 经销商ID
*/
private Long id;
/**
* 经销商名称
*/
private String name;
/**
* 经销商编码
*/
private String code;
/**
* 联系人
*/
private String contactPerson;
/**
* 联系电话
*/
private String contactPhone;
/**
* 邮箱
*/
private String email;
/**
* 状态0-禁用 1-启用
*/
private Integer status;
/**
* 关联的用户ID用于重置密码等操作
*/
private Long userId;
/**
* 创建时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime createdAt;
/**
* 更新时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime updatedAt;
}