4 天以前 84ac2b6b12bc3e5de072661fb25e87877c01d0d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package cn.iocoder.yudao.module.crm.dal.dataobject.business;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
 
/**
 * CRM 商机状态 DO
 *
 * 注意,它是个配置表
 *
 * @author ljlleo
 */
@TableName("crm_business_status")
@KeySequence("crm_business_status_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CrmBusinessStatusDO extends BaseDO {
 
    /**
     * 主键
     */
    @TableId
    private Long id;
    /**
     * 状态类型编号
     *
     * 关联 {@link CrmBusinessStatusTypeDO#getId()}
     */
    private Long typeId;
    /**
     * 状态名
     */
    private String name;
    /**
     * 赢单率,百分比
     */
    private Integer percent;
    /**
     * 排序
     */
    private Integer sort;
 
}