package com.yiqi.order.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.yiqi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.yiqi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 订单衣服附件对象 order_cloth_adjunct
 *
 * @author xiaohei
 * @date 2023-10-06
 */
@ApiModel("订单衣服附件")
@TableName("order_cloth_adjunct")
@Data
public class OrderClothAdjunct extends BaseEntity
{
    private static final long serialVersionUID=1L;

    /** 主键ID */
    @ApiModelProperty("主键ID")
    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 附件编号
     */
    @Excel(name = "附件编号")
    @ApiModelProperty("附件编号")
    private String adjunctNo;

    /** 附件ID */
    @Excel(name = "附件ID")
    @ApiModelProperty("附件ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long adjunctId;

    /** 附件名称 */
    @Excel(name = "附件名称")
    @ApiModelProperty("附件名称")
    private String adjunctName;

    /** 订单ID */
    @ApiModelProperty("订单ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderId;

    /** 订单衣服ID */
    @Excel(name = "订单衣服ID")
    @ApiModelProperty("订单衣服ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderClothId;

    /** 附件数量 */
    @Excel(name = "附件数量")
    @ApiModelProperty("附件数量")
    private Integer num;


}
