| | |
| | | import jakarta.persistence.Column; |
| | | import jakarta.persistence.Entity; |
| | | import lombok.Data; |
| | | import org.hibernate.annotations.Table; |
| | | import jakarta.persistence.Table; |
| | | import org.hibernate.annotations.Comment; |
| | | |
| | | /** |
| | | * @author wjli |
| | |
| | | **/ |
| | | @Data |
| | | @Entity |
| | | @Table(appliesTo = "sales_man", comment = "销售人员") |
| | | @Table(name = "sales_man") |
| | | @Comment("销售人员") |
| | | public class SalesMan extends BaseModel<SalesMan> { |
| | | |
| | | @Schema(description = "所属客商Id") |
| | |
| | | @Schema(description = "联系电话") |
| | | @Column(columnDefinition = "VARCHAR(20) comment '联系电话'") |
| | | private String phone; |
| | | |
| | | |
| | | } |