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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.DTO;
import java.io.Serial;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 道具商店.
 * </p>
 *
 * @author pengliang
 * @since 2022/04/13
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class PropsCommodityStoreDTO extends DTO {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 归属平台.
   */
  private String sysOrigin;

  /**
   * 道具资源id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long sourceId;

  /**
   * 道具类型.
   */
  private String propsType;

  /**
   * 付费类型.
   */
  private String currencyTypes;

  /**
   * 有效天数.
   */
  private String validDays;

  /**
   * 优惠比率.
   */
  private BigDecimal discount;

  /**
   * 0.下架 1.上架.
   */
  private Boolean shelfStatus;

  /**
   * 序号.
   */
  private Integer sort;

  /**
   * 标签.
   */
  private String label;

  /**
   * 0.未删除 1.已删除
   */
  private Boolean del;

  private Timestamp createTime;

  private Timestamp updateTime;

  private Long createUser;

  private Long updateUser;
}
