package com.kym.entity.vo;

import com.kym.entity.BaseEntity;
import com.kym.entity.SystemNotice;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 系统公告
 * </p>
 *
 * @author skyline
 * @since 2024-08-20
 */
@Data
@Accessors(chain = true)
public class NoticeStationVo extends BaseEntity {


    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 创建者名称
     */
    private String adminUserName;

    /**
     * 创建者用户id
     */
    private Long adminUserId;

    /**
     * 开始时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;

    /**
     * 站点id
     */
    private List<String> stationIdList;

    /**
     * 目标：client-客户端, merchant-商户端, all-全部
     */
    private String target;

}
