package cn.teammodel.model.entity;

import com.azure.spring.data.cosmos.core.mapping.GeneratedValue;
import com.azure.spring.data.cosmos.core.mapping.PartitionKey;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.springframework.data.annotation.Id;

/**
 * @author winter
 * @create 2023-11-27 11:05
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BaseItem {
    @Id
    @GeneratedValue
    private String id;
/**
*   分区键
*/
    @PartitionKey
    private String code;
}
