package com.muchinfo.mtp3pojos.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 履约步骤类型表
1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短
 * </p>
 *
 * @author XKF
 * @since 2024-11-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PERFORMANCESTEPTYPE")
@ApiModel(value="Performancesteptype对象", description="履约步骤类型表 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短")
public class Performancesteptype extends Model<Performancesteptype> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移")
    private Integer steptypeid;

    @ApiModelProperty(value = "步骤类型名称")
    @TableField("STEPTYPENAME")
    private String steptypename;

    @ApiModelProperty(value = "能否自动确认 -  0:不可自动确认 1:可自动确认  (可设置自动确认步骤: 1:买方支付 3:买方自提  5:买方确认货  7:买方确认票)")
    @TableField("CANAUTO")
    private Integer canauto;


    @Override
    public Serializable pkVal() {
        return this.steptypeid;
    }
}
