69 lines
1.1 KiB
Java
69 lines
1.1 KiB
Java
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;
|
||
}
|