package cn.superdesk.uniorder.dao.entity.setting;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class UnifiedService implements Serializable {
    private Long id;

    private Integer asService;

    private Integer asOrderType;

    /**
     * serviceId 也是对映的 order_type
     */
    private Integer serviceId;

    private String serviceNo;

    private String serviceName;

    private String orderType;

    private String orderState;

    /**
     * 升级版的订单状态是个json
     */
    private String orderStateJson;

    private String payTypeJson;

    /**
     * 运费-财务编码
     */
    private String goodsTransportFiscalCode;

    /**
     * 运费-税务编码
     */
    private String goodsTransportTaxCode;

    /**
     * 运费-税率%
     */
    private BigDecimal goodsTransportTaxRate;

    private Date createTime;

    private Long createUserId;

    private Date updateTime;

    private Long updateUserId;

    private Integer enabled;

    /**
     * 软删除
     */
    private Integer deleted;

    private static final long serialVersionUID = 1L;
}