package com.red.circle.other.inner.model.dto.agency.agency;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serial;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 政策管理.
 *
 * @author pengliang on 2022/12/1
 */
@Data
@Accessors(chain = true)
public class TeamPolicyManagerDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 记录id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 归属系统.
   */
  private String sysOrigin;

  /**
   * 区域.
   */
  private String region;

  /**
   * 国家code
   */
  private String countryCode;

  /**
   * true: 曾经对外发布过.
   */
  private Boolean historyRelease;

  /**
   * true已发布队外政策.
   */
  private Boolean release;

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

  /**
   * 政策.
   */
  private List<TeamPolicyDTO> policy;

  /**
   * 类型 MONEY(美金政策)、SALARY_DIAMOND(工资钻石政策).
   */
  private String policyType;

  /**
   * 创建时间.
   */
  private Timestamp createTime;

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

  /**
   * 创建用户.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long createUser;

  /**
   * 修改用户.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long updateUser;

}
