package com.bcxin.tenant.open.domains.entities;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bcxin.tenant.open.infrastructures.entities.Aggregate;
import com.bcxin.tenant.open.infrastructures.entities.EntityAbstract;
import lombok.Data;

import java.sql.Timestamp;

/**
 * 调度类型
 * 岗点、人员
 */
@TableName(value = "rd_dynamic_station_types",autoResultMap = true)
@Data
public class RdDynamicStationTypeEntity extends EntityAbstract implements Aggregate {
    @TableField(value = "id")
    private String id;
    @TableField(value = "name")
    private String name;
    /**
     * 默认图标
     */
    @TableField(value = "icon")
    private String icon;

    /**
     * 撒点图标
     */
    @TableField(value = "map_icon")
    private String mapIcon;

    @TableField(value = "participator_icon")
    private String participatorIcon;

    @TableField(value = "participator_offline_icon")
    private String participatorOfflineIcon;

    @TableField(value = "organization_id")
    private String organizationId;
    @TableField(value = "last_sync_time")
    private Timestamp lastSyncTime;
}
