package com.ssm.manage.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ssm.manage.page.BasePage;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

/**
 * 管理门店关系表(StoreManagement)实体类
 *
 * @author makejava
 * @since 2022-01-24 09:33:59
 */
@Setter
@Getter
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class StoreManagementRequest extends BasePage implements Serializable {
    private static final long serialVersionUID = -56903856756465116L;
    /**
     * id
     */
    private Long id;
    /**
     * 管理门店ID
     */
    private Long storeIds;
    /**
     * 受管理门店ID
     */
    private Long storeId;
    /**
     * 创建者ID
     */
    private Long funderId;
    /**
     * 创建者名称
     */
    private String funderName;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date funderDate;
    /**
     * 修改者ID
     */
    private Long updatedId;
    /**
     * 修改者名称
     */
    private String updatedName;
    /**
     * 修改时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedDate;

}

