package com.xunhong.erp.turbo.biz.domain.entity;

import com.alibaba.cola.domain.Entity;
import com.alibaba.cola.dto.DTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author shenyifei
 */
@Data
@Entity
@EqualsAndHashCode(callSuper = true)
public class DealerWarehouse extends DTO {

	/**
	 * 仓库ID
	 */
	private Long warehouseId;

	/**
	 * 经销商ID
	 */
	private Long dealerId;

	/**
	 * 经销商账户ID
	 */
	private Long accountId;

	/**
	 * 仓库名称
	 */
	private String name;

	/**
	 * 仓库地址
	 */
	private String address;

	/**
	 * 联系人
	 */
	private String contactPerson;

	/**
	 * 联系电话
	 */
	private String contactPhone;

	/**
	 * 收货人姓名
	 */
	private String receiverName;

	/**
	 * 收货人电话
	 */
	private String receiverPhone;

	/**
	 * 状态：1_启用；0_禁用；
	 */
	private Boolean status;

	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 创建时间
	 */
	private LocalDateTime createdAt;

	private Dealer dealer;

	private DealerPaymentAccount dealerPaymentAccount;

}

