package com.xyw.console.asset.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 代码作用（白话）：把数据库表 as_phone_asset 的一行资产数据映射成 Java 对象，供后续 Mapper 和 Service 使用。
 * 关联文件：asset/mapper/PhoneAssetMapper.java、openspec/changes/rebuild-asset-application-foundation/design.md。
 * 关联逻辑（调用链/数据流）：后续 Service -> PhoneAssetMapper -> PhoneAssetEntity -> as_phone_asset。
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("as_phone_asset")
public class PhoneAssetEntity extends AssetBaseEntity {
  private String phoneNumber;
  private String cardType;
  private String iccid;
  private String realNameOwner;
  private String managementType;
  private String disposalStatus;
  private Long deviceId;
  private String numberType;
  private String sourceAssetType;
  private Long sourceAssetId;
  private String linkedWecomAccounts;
  private String linkedWechatAccounts;
  private String linkedDouyinAccounts;
  private String linkedDomainAccounts;
  private String linkedMerchants;
  private LocalDateTime relationSyncedAt;
}
